From 4e472a9bc7266ed9adce2eca90f487f4c40d9bff Mon Sep 17 00:00:00 2001 From: Stavros Aronis Date: Sat, 16 Mar 2024 14:02:48 +0100 Subject: [PATCH 1/3] Bump actions versions --- .github/workflows/tests.yml | 12 ++++++------ .github/workflows/website.yml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a6b9c746..8f4d6670 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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')) }} @@ -37,7 +37,7 @@ jobs: doc: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: 2.7 @@ -66,7 +66,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 }} @@ -81,7 +81,7 @@ jobs: run: | .github/scripts/covertool_combine cp cover/coverage.xml coverage.xml - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: file: coverage.xml flags: ${{ matrix.target }} @@ -101,5 +101,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 }} diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 4bcff58d..0ff2ceb1 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -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 From 2b464714088147d91c59144f7eafce24c0d414ee Mon Sep 17 00:00:00 2001 From: Stavros Aronis Date: Sat, 16 Mar 2024 13:45:02 +0100 Subject: [PATCH 2/3] Update doc run --- .github/workflows/tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8f4d6670..f68bc928 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,7 +35,7 @@ jobs: ${{ runner.os }}-rebar- - run: make ${{ matrix.target }} doc: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 @@ -45,7 +45,8 @@ jobs: 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 From 57d9bde1aa2f16735b5bf1406418283b8520ac5d Mon Sep 17 00:00:00 2001 From: Stavros Aronis Date: Sat, 16 Mar 2024 14:13:58 +0100 Subject: [PATCH 3/3] Revert codecov to fix python issue --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f68bc928..47e1b8b2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -82,7 +82,7 @@ jobs: run: | .github/scripts/covertool_combine cp cover/coverage.xml coverage.xml - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v3 with: file: coverage.xml flags: ${{ matrix.target }}