Skip to content

Commit

Permalink
chore: update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hauleth committed Dec 24, 2023
1 parent b8b5ecd commit 5e7ffc9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Update changelog
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: master
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
otp_version: ['24', '25', '26']
elixir_version: ['1.14', '1.15', '1.16']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp_version }}
elixir-version: ${{ matrix.elixir_version }}
- name: Restore dependencies cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-otp-${{ matrix.otp_version }}-mix-${{ hashFiles('**/mix.lock') }}
Expand All @@ -31,7 +31,7 @@ jobs:
run: mix do deps.get, deps.compile
- name: Run tests
run: mix test --cover
- uses: codecov/codecov-action@v2
- uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
flags: elixir-${{ matrix.elixir_version }},otp-${{ matrix.otp_version }}
4 changes: 2 additions & 2 deletions .github/workflows/git.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Check commit messages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
name: Label PRs depending on changes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
Expand Down
18 changes: 8 additions & 10 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@ jobs:
name: Check formatting (invalid/format)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
otp-version: '24.0'
elixir-version: '1.12.1'
rebar3-version: '3.15.2'
otp-version: '26'
elixir-version: '1.16'
- name: Restore dependencies cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
Expand All @@ -44,15 +43,14 @@ jobs:
name: Check our credo (invalid/credo)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
otp-version: '24.0'
elixir-version: '1.12.1'
rebar3-version: '3.15.2'
otp-version: '26'
elixir-version: '1.16'
- name: Restore dependencies cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
Expand Down

0 comments on commit 5e7ffc9

Please sign in to comment.