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
2 changes: 1 addition & 1 deletion .github/workflows/bump-n-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- run: rustup update --no-self-update

- name: Install cargo-binstall
uses: cargo-bins/cargo-binstall@3fc81674af4165a753833a94cae9f91d8849049f # v1.16.2
uses: cargo-bins/cargo-binstall@ea60fcf749c6a52a729e0eaabb5eb33391d44823 # v1.16.4
- name: Install git-cliff and nushell
run: cargo binstall -y git-cliff nu@${NU_SHELL_VERSION}
env:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
- uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
with:
enable-cache: true
- uses: actions/setup-node@v6
Expand All @@ -34,12 +34,12 @@ jobs:
cache: yarn
- run: yarn install
- name: Install cargo-binstall
uses: cargo-bins/cargo-binstall@3fc81674af4165a753833a94cae9f91d8849049f # v1.16.2
uses: cargo-bins/cargo-binstall@ea60fcf749c6a52a729e0eaabb5eb33391d44823 # v1.16.4
- name: Install nur
run: cargo binstall -y nur
- run: nur docs build
- name: Save docs build as artifact
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
path: docs/site
name: supplemental-docs
Expand All @@ -53,11 +53,11 @@ jobs:
- name: Setup Rust
run: rustup update --no-self-update
- name: Install cargo-binstall
uses: cargo-bins/cargo-binstall@3fc81674af4165a753833a94cae9f91d8849049f # v1.16.2
uses: cargo-bins/cargo-binstall@ea60fcf749c6a52a729e0eaabb5eb33391d44823 # v1.16.4
- name: Install nur
run: cargo binstall -y nur
- name: Cache deps
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
~/.cargo/registry/index/
Expand All @@ -66,7 +66,7 @@ jobs:
key: cargo-docs-${{ hashFiles('crates/*/src/**', 'crates/**/Cargo.toml') }}
- run: nur docs rs
- name: save docs as artifact
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: api-docs
path: target/doc
20 changes: 10 additions & 10 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
rustup target add ${{ matrix.settings.target }}
- name: Cache cargo
if: ${{ !startsWith(github.ref, 'refs/tags') }}
uses: actions/cache@v4 # zizmor: ignore[cache-poisoning]
uses: actions/cache@v5 # zizmor: ignore[cache-poisoning]
with:
path: |
~/.cargo/registry/index/
Expand All @@ -94,7 +94,7 @@ jobs:
with:
version: 0.14.1
- name: Install cargo-binstall
uses: cargo-bins/cargo-binstall@3fc81674af4165a753833a94cae9f91d8849049f # v1.16.2
uses: cargo-bins/cargo-binstall@ea60fcf749c6a52a729e0eaabb5eb33391d44823 # v1.16.4
if: ${{ contains(matrix.settings.target, 'musl') }}
- name: Install cargo-zigbuild
run: cargo binstall -y cargo-zigbuild
Expand All @@ -111,14 +111,14 @@ jobs:
run: ${{ matrix.settings.build }}
shell: bash
- name: Upload native module as artifact
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: bindings-${{ matrix.settings.target }}
path: ${{ env.ARTIFACT_PATH }}
if-no-files-found: error
- name: Upload generated index.* as artifact
if: matrix.settings.target == 'armv7-unknown-linux-gnueabihf'
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: generated-index
path: bindings/node/index.*
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
rm -rf target
rm -rf .yarn/cache
- name: Upload artifact
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: bindings-freebsd
path: ${{ env.ARTIFACT_PATH }}
Expand All @@ -191,19 +191,19 @@ jobs:
- name: Install dependencies
run: yarn install
- name: Download macOS x64 artifact
uses: actions/download-artifact@v6
uses: actions/download-artifact@v7
with:
name: bindings-x86_64-apple-darwin
path: bindings/node
- name: Download macOS arm64 artifact
uses: actions/download-artifact@v6
uses: actions/download-artifact@v7
with:
name: bindings-aarch64-apple-darwin
path: bindings/node
- name: Combine binaries
run: yarn universal
- name: Upload artifact
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: bindings-universal-apple-darwin
path: ${{ env.ARTIFACT_PATH }}
Expand Down Expand Up @@ -231,12 +231,12 @@ jobs:
- name: Install dependencies
run: yarn install
- name: Download native artifacts
uses: actions/download-artifact@v6
uses: actions/download-artifact@v7
with:
pattern: bindings-*
path: bindings/node/artifacts
- name: Download generated index artifact
uses: actions/download-artifact@v6
uses: actions/download-artifact@v7
with:
name: generated-index
path: bindings/node
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
id: python-setup
with:
python-version: 3.x
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
- uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
with:
enable-cache: true
- name: Cache pre-commit environments
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: '~/.cache/pre-commit'
key: pre-commit-${{ steps.python-setup.outputs.python-version }}-${{ hashFiles('.pre-commit-config.yaml') }}
Expand All @@ -39,15 +39,15 @@ jobs:
- name: Setup Rust
run: rustup update --no-self-update
- name: Cache deps
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |-
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: cargo-lint-${{ hashFiles('**/*.rs') }}
- name: Install cargo-binstall
uses: cargo-bins/cargo-binstall@3fc81674af4165a753833a94cae9f91d8849049f # v1.16.2
uses: cargo-bins/cargo-binstall@ea60fcf749c6a52a729e0eaabb5eb33391d44823 # v1.16.4
- name: Install nur
run: cargo binstall -y nur
env:
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
echo "title=${pr_title}" >> "${GITHUB_OUTPUT}"
- run: rustup update --no-self-update
- name: Install cargo-binstall
uses: cargo-bins/cargo-binstall@3fc81674af4165a753833a94cae9f91d8849049f # v1.16.2
uses: cargo-bins/cargo-binstall@ea60fcf749c6a52a729e0eaabb5eb33391d44823 # v1.16.4
- name: Install committed
run: cargo binstall -y committed
env:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
sccache: false # experience proves unreliable on Linux
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: wheels-linux-${{ matrix.platform.target }}
path: dist
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} # zizmor: ignore[cache-poisoning]
manylinux: musllinux_1_2
- name: Upload wheels
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: wheels-musllinux-${{ matrix.platform.target }}
path: dist
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
args: --release --out dist --find-interpreter
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} # zizmor: ignore[cache-poisoning]
- name: Upload wheels
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: wheels-windows-${{ matrix.platform.target }}
path: dist
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
args: --release --out dist --find-interpreter
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} # zizmor: ignore[cache-poisoning]
- name: Upload wheels
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: wheels-macos-${{ matrix.platform.target }}
path: dist
Expand All @@ -169,7 +169,7 @@ jobs:
command: sdist
args: --out dist
- name: Upload sdist
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: wheels-sdist
path: dist
Expand All @@ -182,7 +182,7 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v7
with:
pattern: wheels-*
path: dist
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
- name: Setup Rust
run: rustup update --no-self-update
- name: Install cargo-binstall
uses: cargo-bins/cargo-binstall@3fc81674af4165a753833a94cae9f91d8849049f # v1.16.2
uses: cargo-bins/cargo-binstall@ea60fcf749c6a52a729e0eaabb5eb33391d44823 # v1.16.4
- name: Install cargo-llvm-cov, cargo-nextest, and nur
env:
GITHUB_TOKEN: ${{ github.token }}
run: cargo binstall -y cargo-nextest cargo-llvm-cov nur
- name: Cache deps
uses: actions/cache@v4 # zizmor: ignore[cache-poisoning]
uses: actions/cache@v5 # zizmor: ignore[cache-poisoning]
with:
path: |
~/.cargo/registry/index/
Expand All @@ -54,7 +54,7 @@ jobs:
run: nur test --profile ci
- name: Generate coverage reports
run: nur test lcov
- uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
if: github.repository == 'nRF24/rf24-rs'
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand All @@ -73,7 +73,7 @@ jobs:
with:
persist-credentials: false
- name: Setup nushell
uses: hustcer/setup-nu@3a97c8160c2bb5af321a03336e7addc28f94444e # v3.21
uses: hustcer/setup-nu@920172d92eb04671776f3ba69d605d3b09351c30 # v3.22
with:
version: ${{ vars.NU_SHELL_VERSION || '*' }}
- name: Get pkg from tag
Expand Down
Loading