Skip to content

Commit

Permalink
ci: update to latest images
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
  • Loading branch information
rvolosatovs committed Dec 5, 2024
1 parent d3b46b4 commit 51ad4fb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:

jobs:
fmt:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-nix
Expand All @@ -19,7 +19,7 @@ jobs:
- run: nix fmt

run:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-nix
Expand All @@ -28,7 +28,7 @@ jobs:
- run: nix run -L . -- --version

develop:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-nix
Expand All @@ -37,7 +37,7 @@ jobs:
- run: nix develop -L --ignore-environment -c cargo tree

check:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-nix
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/wit-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
docker run --rm wit-deps:$(nix eval --raw .#wit-deps-x86_64-unknown-linux-musl-oci.imageTag) wit-deps --version
name: wit-deps-${{ matrix.config.target }}
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-nix
Expand All @@ -69,16 +69,16 @@ jobs:
build-lipo:
name: wit-deps-universal-darwin
needs: build-bin
runs-on: macos-12
runs-on: macos-latest
steps:
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: wit-deps-aarch64-apple-darwin
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: wit-deps-x86_64-apple-darwin
- run: chmod +x ./wit-deps-x86_64-apple-darwin
- run: ./wit-deps-x86_64-apple-darwin --version
- run: chmod +x ./wit-deps-aarch64-apple-darwin
- run: ./wit-deps-aarch64-apple-darwin --version
- run: lipo -create ./wit-deps-aarch64-apple-darwin ./wit-deps-x86_64-apple-darwin -output ./wit-deps-universal-darwin
- run: chmod +x ./wit-deps-universal-darwin
- run: ./wit-deps-universal-darwin --version
Expand All @@ -98,7 +98,7 @@ jobs:
- nextest

name: cargo ${{ matrix.check }}
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-nix
Expand All @@ -107,7 +107,7 @@ jobs:
- run: nix build -L .#checks.x86_64-linux.${{ matrix.check }}

build-doc:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-nix
Expand All @@ -132,7 +132,7 @@ jobs:
path: doc

deploy-doc:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
needs: build-doc
permissions:
pages: write
Expand All @@ -146,7 +146,7 @@ jobs:
id: deployment

oci:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' }}
needs: build-bin
permissions:
Expand Down

0 comments on commit 51ad4fb

Please sign in to comment.