Bump phoenix from 1.7.21 to 1.8.1 #1083
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: CI | |
| on: [push] | |
| env: | |
| SHELL: /bin/bash | |
| MIX_ENV: test | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 1 | |
| - name: Cache dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| deps | |
| _build | |
| key: ${{ runner.os }}-mix-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/.tool-versions') }}-${{ hashFiles('**/mix.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-mix- | |
| - name: Setup Elixir | |
| uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: 27.2 | |
| elixir-version: 1.18.0-otp-27 | |
| - name: Build project | |
| run: | | |
| mix local.rebar --force | |
| mix local.hex --force | |
| mix deps.get | |
| mix deps.compile | |
| mix dialyzer.build | |
| mix compile --warnings-as-errors | |
| - name: Elixir Static analysis | |
| run: mix dialyzer | |
| - name: Elixir check formatting | |
| run: mix format --check-formatted | |
| - name: Elixir Linter | |
| run: mix credo list --strict | |
| - name: Elixir check retired packages | |
| run: mix hex.audit | |
| - name: Elixir check unused packages | |
| run: mix deps.unlock --check-unused | |
| - name: Elixir check for security issues in dependencies | |
| run: mix deps.audit | |
| - name: Elixir run tests | |
| run: mix coveralls.multiple --type html --type json --warnings-as-errors | |
| # - name: Upload coverage report to Codecov | |
| # uses: codecov/codecov-action@v5 | |
| # with: | |
| # fail_ci_if_error: true | |
| # token: ${{ secrets.CODECOV_TOKEN }} |