Update the connection state after all actions that may affect it #690
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 | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| name: lint OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} | |
| strategy: | |
| matrix: | |
| otp: ['26'] | |
| elixir: ['1.15'] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: ${{matrix.otp}} | |
| elixir-version: ${{matrix.elixir}} | |
| - run: mix deps.get | |
| - run: mix credo | |
| - run: mix format --check-formatted | |
| - run: mix docs 2>&1 | (! grep -q "warning:") | |
| test: | |
| runs-on: ubuntu-latest | |
| name: test OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} | |
| strategy: | |
| matrix: | |
| otp: ['26'] | |
| elixir: ['1.15'] | |
| env: | |
| MIX_ENV: test | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: ${{matrix.otp}} | |
| elixir-version: ${{matrix.elixir}} | |
| - run: mix deps.get | |
| - run: mix coveralls.json | |
| - uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} |