Skip to content

Commit

Permalink
Merge pull request #81 from andreashasse/upgrade-actions
Browse files Browse the repository at this point in the history
Upgrade actions
  • Loading branch information
onno-vos-dev authored Nov 7, 2024
2 parents 6040c98 + e2fe968 commit 1cadd60
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
image: erlang:${{ matrix.otp-version }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Cache Hex packages
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.cache/rebar3/hex/hexpm/packages
key: ${{ runner.os }}-hex-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.lock')) }}
restore-keys: |
${{ runner.os }}-hex-
- name: Cache Dialyzer PLTs
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.cache/rebar3/rebar3_*.plt
key: ${{ runner.os }}-dialyzer-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.config')) }}
Expand All @@ -43,9 +43,8 @@ jobs:
- name: Store CT Logs
uses: actions/upload-artifact@v4
with:
name: ct-logs_otp${{ matrix.otp-version }}_ref${{ github.sha }}
name: ct-logs OTP${{ matrix.otp-version }}
path: _build/test/logs
overwrite: true
retention-days: 5
- name: Run Checks
run: rebar3 do dialyzer, xref
Expand All @@ -60,9 +59,8 @@ jobs:
- name: Publish Documentation
uses: actions/upload-artifact@v4
with:
name: edoc_otp${{ matrix.otp-version }}
name: edoc OTP${{ matrix.otp-version }}
path: doc
overwrite: true
docs:
strategy:
matrix:
Expand All @@ -73,16 +71,16 @@ jobs:
image: erlang:${{ matrix.otp-version }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Cache Hex packages
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.cache/rebar3/hex/hexpm/packages
key: ${{ runner.os }}-hex-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.lock')) }}
restore-keys: |
${{ runner.os }}-hex-
- name: Cache Dialyzer PLTs
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.cache/rebar3/rebar3_*.plt
key: ${{ runner.os }}-dialyzer-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.config')) }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Take ownership of the checkout directory (Git CVE-2022-24765)
run: chown --recursive --reference=/ .
Expand Down

0 comments on commit 1cadd60

Please sign in to comment.