Skip to content
Merged
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
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
outputs:
tag: ${{ steps.meta.outputs.tag }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Read version from Cargo.toml
id: meta
Expand All @@ -49,7 +49,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- run: rustup toolchain install stable --profile minimal
- run: cargo test --locked
- run: cargo clippy --locked -- -D warnings
Expand All @@ -74,7 +74,7 @@ jobs:
env:
RELEASE_TAG: ${{ needs.version.outputs.tag }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Install musl tools
if: contains(matrix.target, 'musl')
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
Copy-Item README.md dist/
Compress-Archive -Path dist/* -DestinationPath "$env:BIN-$env:RELEASE_TAG-${{ matrix.target }}.zip"

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: ${{ matrix.target }}
path: |
Expand All @@ -120,7 +120,7 @@ jobs:
GH_TOKEN: ${{ github.token }}
TAG: ${{ needs.version.outputs.tag }}
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
path: artifacts
merge-multiple: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- run: rustup toolchain install stable --profile minimal --component rustfmt,clippy
- name: Check formatting
run: cargo fmt --all --check
Expand All @@ -29,7 +29,7 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- run: rustup toolchain install stable --profile minimal
# --locked so a stale Cargo.lock fails here instead of during a release.
- run: cargo test --locked
Expand All @@ -38,7 +38,7 @@ jobs:
msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Read rust-version from Cargo.toml
id: msrv
run: echo "version=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].rust_version')" >> "$GITHUB_OUTPUT"
Expand Down