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 <rvolosatovs@riseup.net>
  • Loading branch information
rvolosatovs committed Jan 13, 2025
1 parent ef57394 commit 6bc7e42
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ jobs:
docker load < ./result
docker run --rm rust-hello:$(nix eval --raw --override-input 'nixify' '.' ./examples/rust-hello#rust-hello-x86_64-unknown-linux-musl-oci.imageTag)
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-nix
Expand Down Expand Up @@ -334,7 +334,7 @@ jobs:
test-bin: nix run --inputs-from . 'nixpkgs#wasmtime' ./result/bin/complex-foo.wasm
suffix: .wasm

runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-nix
Expand Down Expand Up @@ -466,7 +466,7 @@ jobs:
- run: ${{ matrix.config.test-bin }}

oci-linux:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ github.event_name != 'pull_request' }}
permissions:
packages: write
Expand All @@ -489,7 +489,7 @@ jobs:
docker run ghcr.io/${{ github.repository_owner }}/nixify:rust-hello-${{ github.sha }}
test-linux:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs:
- rust-complex-linux
- oci-linux
Expand Down Expand Up @@ -530,7 +530,7 @@ jobs:
- run: '& .\rust-complex-x86_64-pc-windows-gnu'

test-artifacts:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs:
- rust-complex-linux
- rust-complex-macos
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
matrix:
platform:
- host: macos-latest
- host: ubuntu-latest
- host: ubuntu-24.04
runs-on: ${{ matrix.platform.host }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ permissions:
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
platform:
- host: macos-latest
- host: ubuntu-latest
- host: ubuntu-24.04
runs-on: ${{ matrix.platform.host }}
steps:
- uses: actions/checkout@v4
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@v2
with:
Expand Down

0 comments on commit 6bc7e42

Please sign in to comment.