Bump credo from 1.7.13 to 1.7.14 #44
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Integration Testing | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| name: Build and test | |
| runs-on: ubuntu-latest | |
| env: | |
| MIX_ENV: test | |
| strategy: | |
| matrix: | |
| elixir: [1.18.4, 1.19.3] | |
| otp: [27.3, 28.1] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Elixir | |
| uses: erlef/setup-beam@v1 | |
| with: | |
| elixir-version: ${{ matrix.elixir }} | |
| otp-version: ${{ matrix.otp }} | |
| - name: Restore cached dependencies and build artifacts | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| deps | |
| _build | |
| key: mix-${{ runner.os }}-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('**/mix.lock') }} | |
| - name: Install dependencies | |
| run: mix deps.get | |
| - name: Check formatting | |
| run: mix format --check-formatted | |
| - name: Check for unused dependencies | |
| run: mix deps.unlock --check-unused | |
| - name: Compile dependencies | |
| run: mix deps.compile | |
| - name: Compile sources | |
| run: mix compile --warnings-as-errors | |
| - name: Run Credo | |
| run: mix credo --strict | |
| - name: Run Dialyzer | |
| run: mix dialyzer | |
| - name: Launch PostgreSQL | |
| run: | | |
| sudo systemctl start postgresql.service | |
| sudo su - postgres -c "psql -c \"ALTER USER postgres PASSWORD 'postgres'\"" | |
| - name: Run tests | |
| run: mix test |