Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# reproduce a failure on.
os: [ubuntu-latest, macos-15]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
Expand All @@ -36,7 +36,7 @@ jobs:
# are replayed against — `cargo test` covers the Rust half. It is
# deliberately not regenerated here: doing so let a change to the Rust
# engine rewrite its own expectations and still pass.
- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version: '22'
- run: node tests/ot.test.js
Expand All @@ -54,7 +54,7 @@ jobs:
name: the optimised build behaves the same
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo test --workspace --release
Expand All @@ -63,7 +63,7 @@ jobs:
name: minimum supported Rust version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@1.87.0
- uses: Swatinem/rust-cache@v2
# --all-targets, so tests and examples are held to the MSRV too; plain
Expand All @@ -74,7 +74,7 @@ jobs:
name: dependency advisories
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: rustsec/audit-check@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -85,7 +85,7 @@ jobs:
name: licences and sources
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: EmbarkStudios/cargo-deny-action@v2
with:
command: check licenses bans sources
Expand All @@ -96,9 +96,9 @@ jobs:
name: the image still builds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
- uses: actions/checkout@v7
- uses: docker/setup-buildx-action@v4
- uses: docker/build-push-action@v7
with:
context: .
push: false
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
outputs:
version: ${{ steps.version.outputs.version }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- id: version
run: |
tag="${{ github.event.inputs.tag || github.ref_name }}"
Expand All @@ -50,7 +50,7 @@ jobs:
- { os: macos-15, target: aarch64-apple-darwin }
- { os: macos-15, target: x86_64-apple-darwin }
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
Expand All @@ -75,7 +75,7 @@ jobs:
# Prefixed, so the download below can ask for the archives by name. The
# `image` job's buildx metadata lands in the same artifact namespace and
# must not be mistaken for a release file.
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: gal-${{ matrix.target }}
path: dist/*
Expand All @@ -85,16 +85,16 @@ jobs:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
- uses: actions/checkout@v7
- uses: docker/setup-buildx-action@v4
- uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# The Dockerfile is otherwise built by nothing, so it can rot unnoticed
# between releases.
- uses: docker/build-push-action@v6
- uses: docker/build-push-action@v7
with:
context: .
push: true
Expand All @@ -109,21 +109,21 @@ jobs:
needs: [check, build, image]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
# `pattern` is not optional. Without it this downloads *every* artifact
# the run produced, which includes the `.dockerbuild` blob that
# `docker/build-push-action` uploads as a build summary. That blob is not
# a release file, it would land in `dist/` and be published and hashed as
# if it were, and on the first release that ever ran here its download
# failed after five retries and took the whole job with it.
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
path: dist
pattern: gal-*
merge-multiple: true
# One file, so `sha256sum -c SHA256SUMS` verifies the whole release.
- run: cd dist && sha256sum * > SHA256SUMS
- uses: softprops/action-gh-release@v2
- uses: softprops/action-gh-release@v3
with:
files: dist/*
body_path: CHANGELOG.md
Expand All @@ -139,7 +139,7 @@ jobs:
runs-on: ubuntu-latest
environment: crates-io
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
# One invocation rather than three. Cargo publishes in dependency order
# itself and waits for each crate to appear in the index before building
Expand Down
Loading