Skip to content

Commit

Permalink
Collapse test and lint jobs into one
Browse files Browse the repository at this point in the history
  • Loading branch information
Cantido committed Jul 7, 2024
1 parent 24e384f commit 2f05907
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,40 +30,12 @@ jobs:
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
- name: Install dependencies
run: mix deps.get


test:
runs-on: ubuntu-latest
env:
FORCE_COLOR: 1
needs:
- build
steps:
- uses: actions/checkout@v4
- name: Set up Elixir
uses: erlef/setup-beam@61e01a43a562a89bfc54c7f9a378ff67b03e4a21 # v1.16.0
with:
elixir-version: 1.17
otp-version: 27
- name: Run tests
run: mix test

credo:
runs-on: ubuntu-latest
env:
FORCE_COLOR: 1
needs:
- build
steps:
- uses: actions/checkout@v4
- name: Set up Elixir
uses: erlef/setup-beam@61e01a43a562a89bfc54c7f9a378ff67b03e4a21 # v1.16.0
with:
elixir-version: 1.17
otp-version: 27
- name: Run credo
run: mix credo list


test-unlocked:
runs-on: ubuntu-latest
env:
Expand Down

0 comments on commit 2f05907

Please sign in to comment.