Merge pull request #134 from orbit-apps/dependabot/hex/credo-1.7.16 #287
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
| on: push | |
| name: Continuous Integration | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| env: | |
| MIX_ENV: test | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Cache dialyzer plts | |
| uses: actions/cache@v5 | |
| with: | |
| path: priv/plts | |
| key: ${{runner.os}}-${{hashFiles('**/.tool-versions')}}-plts | |
| - uses: erlef/setup-elixir@v1 | |
| with: | |
| version-file: ".tool-versions" | |
| version-type: "strict" | |
| - name: Deps get | |
| run: mix deps.get | |
| - name: Check Credo | |
| run: mix credo | |
| - name: Check Formatting | |
| run: mix format --check-formatted | |
| - name: Run Tests | |
| run: mix do compile --warnings-as-errors, test | |
| - name: Dialyzer | |
| run: mix dialyzer |