Skip to content

Commit

Permalink
Use Ubuntu 24.04 for testing
Browse files Browse the repository at this point in the history
Ubuntu 24.04.1 has now been released and is the current LTS release.

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
  • Loading branch information
bestbeforetoday committed Sep 9, 2024
1 parent 25199bd commit 482e9d3
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions:

jobs:
node:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Node documentation
steps:
- uses: actions/checkout@v4
Expand All @@ -23,7 +23,7 @@ jobs:
path: node/apidocs/

java:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Java documentation
steps:
- uses: actions/checkout@v4
Expand All @@ -41,7 +41,7 @@ jobs:
path: java/target/reports/apidocs/

site:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Documentation site
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
publish-node:
needs: build
name: Publish Node package
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -73,7 +73,7 @@ jobs:
publish-java:
needs: build
name: Publish Java artifact to GitHub Packages
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
publish-node:
needs: verify-versions
name: Publish Node package
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -33,7 +33,7 @@ jobs:
publish-java-github:
needs: verify-versions
name: Publish Java artifact to GitHub Packages
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
Expand All @@ -56,7 +56,7 @@ jobs:
publish-java-ossrh:
needs: verify-versions
name: Publish Java artifact to Maven Central
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:

go_unit:
needs: verify-versions
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Unit test Go
strategy:
fail-fast: false
Expand All @@ -64,7 +64,7 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
- name: Install SoftHSM
run: sudo apt install -y softhsm
run: sudo apt install -y softhsm2
env:
TMPDIR: ${{ runner.temp }}
- name: Generate mocks
Expand All @@ -79,7 +79,7 @@ jobs:
go_scenario:
needs: verify-versions
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Scenario test Go
strategy:
fail-fast: false
Expand All @@ -95,7 +95,7 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
- name: Install SoftHSM
run: sudo apt install -y softhsm
run: sudo apt install -y softhsm2
env:
TMPDIR: ${{ runner.temp }}
- name: Generate mocks
Expand All @@ -107,7 +107,7 @@ jobs:

node_unit:
needs: verify-versions
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Unit test Node
strategy:
fail-fast: false
Expand All @@ -128,7 +128,7 @@ jobs:

node_scenario:
needs: verify-versions
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Scenario test Node
strategy:
fail-fast: false
Expand All @@ -147,7 +147,7 @@ jobs:
with:
go-version: stable
- name: Install SoftHSM
run: sudo apt install -y softhsm
run: sudo apt install -y softhsm2
env:
TMPDIR: ${{ runner.temp }}
- name: Pull Fabric Docker images
Expand All @@ -157,7 +157,7 @@ jobs:

java_unit:
needs: verify-versions
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Unit test Java
strategy:
fail-fast: false
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
java_scenario:
needs: verify-versions
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Scenario test Java
strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion docs/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ The following table shows versions of Fabric, programming language runtimes, and
| **Go** | 1.21, 1.22, 1.23 | 1.21, 1.22, 1.23 |
| **Node** | 18, 20, 22 | 18, 20, 22 |
| **Java** | 11, 17, 21 | 8, 11, 17, 21 |
| **Platform** | Ubuntu 22.04 | |
| **Platform** | Ubuntu 24.04 | |

0 comments on commit 482e9d3

Please sign in to comment.