Skip to content

Commit

Permalink
chore: update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
paulswartz committed Sep 19, 2024
1 parent 8f15b3c commit c2c2ed1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
- uses: actions/checkout@v4
# cache the ASDF directory, using the values from .tool-versions
- name: ASDF cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.asdf
key: ${{ runner.os }}-asdf-v2-${{ hashFiles('.tool-versions') }}
id: asdf-cache
# only run `asdf install` if we didn't hit the cache
- uses: asdf-vm/actions/install@v1
- uses: asdf-vm/actions/install@v2
if: steps.asdf-cache.outputs.cache-hit != 'true'

ci:
Expand All @@ -27,15 +27,15 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: ASDF cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.asdf
key: ${{ runner.os }}-asdf-v2-${{ hashFiles('.tool-versions') }}
id: asdf-cache
- uses: mbta/actions/reshim-asdf@v2
- name: Restore dependencies cache
id: deps-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
Expand All @@ -59,7 +59,7 @@ jobs:
echo "${{ github.event.pull_request.head.sha }}" > cover/PR_SHA
if: github.event.pull_request
- name: Upload coverage artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: elixir-lcov
path: cover/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/report-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
unzip elixir-lcov.zip
echo "PR_SHA=$(cat PR_SHA)" >> $GITHUB_ENV
echo "PR_NUMBER=$(cat PR_NUMBER)" >> $GITHUB_ENV
- uses: actions/checkout@v2 # UNTRUSTED CODE - do not run scripts from it
- uses: actions/checkout@v4 # UNTRUSTED CODE - do not run scripts from it
with:
ref: ${{ env.PR_SHA }}
- name: Upload coverage artifact and post comment
Expand Down

0 comments on commit c2c2ed1

Please sign in to comment.