Skip to content

Commit

Permalink
Merge pull request #358 from aronisstav/fix-actions
Browse files Browse the repository at this point in the history
Fix breaking doc tests
  • Loading branch information
aronisstav authored Mar 16, 2024
2 parents cbc5200 + 57d9bde commit 8964c42
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
container: erlang:23
name: ${{ matrix.target }}
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: '~/.cache'
key: ${{ runner.os }}-rebar-${{ matrix.target }}-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.config')) }}
Expand All @@ -35,17 +35,18 @@ jobs:
${{ runner.os }}-rebar-
- run: make ${{ matrix.target }}
doc:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
working-directory: doc
- uses: erlef/setup-beam@v1
with:
otp-version: '23'
otp-version: '24'
rebar3-version: nightly
- run: make -C doc test
tests-latest:
runs-on: ubuntu-latest
Expand All @@ -66,7 +67,7 @@ jobs:
container: erlang:${{ matrix.otp }}
name: OTP ${{ matrix.otp }} - ${{ matrix.target }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- if: matrix.target != 'tests-unit'
run: .github/scripts/covertool_setup
- run: make ${{ matrix.target }}
Expand Down Expand Up @@ -101,5 +102,5 @@ jobs:
container: erlang:${{ matrix.otp }}
name: OTP ${{ matrix.otp }} - ${{ matrix.target }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: make ${{ matrix.target }}
2 changes: 1 addition & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: ${{ matrix.target }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
Expand Down

0 comments on commit 8964c42

Please sign in to comment.