Skip to content

Commit

Permalink
ci: pin ubuntu image versions
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volosatovs <[email protected]>
  • Loading branch information
rvolosatovs committed Jan 13, 2025
1 parent 58815e7 commit e09355c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:

jobs:
fmt:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/install-nix
Expand All @@ -22,7 +22,7 @@ jobs:
- run: nix fmt -L $(find . -type f -name '*.nix')

shell:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/install-nix
Expand All @@ -34,7 +34,7 @@ jobs:
wrpc-wasmtime --version
develop:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/install-nix
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ permissions: read-all
jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
nix-flake-update:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: rvolosatovs/nix-flake-update-action@7249aa67d87e2a195c376fe34c230af0862a9900 # v2.0.5
with:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/wrpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
docker run --rm wrpc:$(nix eval --raw .#wrpc-x86_64-unknown-linux-musl-oci.imageTag) wrpc-wasmtime --version
name: wrpc-${{ matrix.config.target }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/install-nix
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:

test-linux:
if: ${{ !startsWith(github.ref, 'refs/tags/go/') }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: build-bin
steps:
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
- nextest

name: cargo ${{ matrix.check }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/install-nix
Expand Down Expand Up @@ -255,7 +255,7 @@ jobs:

name: publish ${{ matrix.crate }} to crates.io
needs: cargo
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

Expand Down Expand Up @@ -290,7 +290,7 @@ jobs:
working-directory: ./crates/${{ matrix.crate }}

build-doc:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/install-nix
Expand All @@ -316,7 +316,7 @@ jobs:

deploy-doc:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: build-doc
permissions:
pages: write
Expand All @@ -330,7 +330,7 @@ jobs:

oci:
if: ${{ !startsWith(github.ref, 'refs/tags/crates/') && !startsWith(github.ref, 'refs/tags/go/') }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
packages: write
needs:
Expand Down Expand Up @@ -409,7 +409,7 @@ jobs:
- oci
- test-linux
- test-windows
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
Expand Down

0 comments on commit e09355c

Please sign in to comment.