Pin dependencies

This commit is contained in:
renovate[bot] 2024-06-23 12:59:44 +00:00 committed by Nick Groenen
parent cda79d7fca
commit 1b1efffe7e
2 changed files with 23 additions and 23 deletions

View File

@ -14,6 +14,6 @@ jobs:
PLAN: ${{ inputs.plan }} PLAN: ${{ inputs.plan }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: dtolnay/rust-toolchain@stable - uses: dtolnay/rust-toolchain@stable
- run: cargo publish - run: cargo publish

View File

@ -12,12 +12,12 @@ jobs:
outputs: outputs:
rustc_cache_key: ${{ steps.setup_rust.outputs.cachekey }} rustc_cache_key: ${{ steps.setup_rust.outputs.cachekey }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: dtolnay/rust-toolchain@stable - uses: dtolnay/rust-toolchain@stable
id: setup_rust id: setup_rust
with: with:
components: "rustfmt, clippy" components: "rustfmt, clippy"
- uses: actions/cache@v3 - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3
with: with:
path: | path: |
~/.cargo/bin/ ~/.cargo/bin/
@ -29,7 +29,7 @@ jobs:
restore-keys: | restore-keys: |
cargo-base-${{ env.RUSTC_CACHEKEY }} cargo-base-${{ env.RUSTC_CACHEKEY }}
- name: Run sccache-cache - name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.3 uses: mozilla-actions/sccache-action@8417cffc2ec64127ad83077aceaa8631f7cdc83e # v0.0.3
- run: cargo build --locked --all-targets - run: cargo build --locked --all-targets
lint: lint:
@ -37,8 +37,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/cache@v3 - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3
with: with:
path: | path: |
~/.cargo/bin/ ~/.cargo/bin/
@ -52,7 +52,7 @@ jobs:
cargo-base-${{ env.RUSTC_CACHEKEY }} cargo-base-${{ env.RUSTC_CACHEKEY }}
fail-on-cache-miss: true fail-on-cache-miss: true
- name: Run sccache-cache - name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.3 uses: mozilla-actions/sccache-action@8417cffc2ec64127ad83077aceaa8631f7cdc83e # v0.0.3
- run: cargo fmt --all -- --check - run: cargo fmt --all -- --check
- run: cargo check - run: cargo check
@ -67,8 +67,8 @@ jobs:
# These hooks are expensive and already run as dedicated jobs above # These hooks are expensive and already run as dedicated jobs above
SKIP: "tests,clippy" SKIP: "tests,clippy"
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/cache@v3 - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3
with: with:
path: | path: |
~/.cargo/bin/ ~/.cargo/bin/
@ -82,12 +82,12 @@ jobs:
cargo-base-${{ env.RUSTC_CACHEKEY }} cargo-base-${{ env.RUSTC_CACHEKEY }}
fail-on-cache-miss: true fail-on-cache-miss: true
- name: Run sccache-cache - name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.3 uses: mozilla-actions/sccache-action@8417cffc2ec64127ad83077aceaa8631f7cdc83e # v0.0.3
- uses: actions/setup-python@v5 - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
- name: set PYVERSION - name: set PYVERSION
run: echo "PYVERSION=$(python --version | tr ' ' '-')" >> $GITHUB_ENV run: echo "PYVERSION=$(python --version | tr ' ' '-')" >> $GITHUB_ENV
- uses: actions/cache@v3 - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3
with: with:
path: ~/.cache/pre-commit path: ~/.cache/pre-commit
# Changes to pre-commit-config.yaml may require the installation of # Changes to pre-commit-config.yaml may require the installation of
@ -104,8 +104,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/cache@v3 - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3
with: with:
path: | path: |
~/.cargo/bin/ ~/.cargo/bin/
@ -119,7 +119,7 @@ jobs:
cargo-base-${{ env.RUSTC_CACHEKEY }} cargo-base-${{ env.RUSTC_CACHEKEY }}
fail-on-cache-miss: true fail-on-cache-miss: true
- name: Run sccache-cache - name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.3 uses: mozilla-actions/sccache-action@8417cffc2ec64127ad83077aceaa8631f7cdc83e # v0.0.3
- run: cargo test - run: cargo test
@ -129,10 +129,10 @@ jobs:
needs: build needs: build
steps: steps:
- run: git config --system core.autocrlf false && git config --system core.eol lf - run: git config --system core.autocrlf false && git config --system core.eol lf
- uses: actions/checkout@v4 - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: dtolnay/rust-toolchain@stable - uses: dtolnay/rust-toolchain@stable
id: setup_rust id: setup_rust
- uses: actions/cache@v3 - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3
with: with:
path: | path: |
~/.cargo/bin/ ~/.cargo/bin/
@ -146,7 +146,7 @@ jobs:
cargo-base-${{ env.RUSTC_CACHEKEY }} cargo-base-${{ env.RUSTC_CACHEKEY }}
fail-on-cache-miss: true fail-on-cache-miss: true
- name: Run sccache-cache - name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.3 uses: mozilla-actions/sccache-action@8417cffc2ec64127ad83077aceaa8631f7cdc83e # v0.0.3
- run: cargo test - run: cargo test
@ -155,8 +155,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/cache@v3 - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3
with: with:
path: | path: |
~/.cargo/bin/ ~/.cargo/bin/
@ -170,15 +170,15 @@ jobs:
cargo-base-${{ env.RUSTC_CACHEKEY }} cargo-base-${{ env.RUSTC_CACHEKEY }}
fail-on-cache-miss: true fail-on-cache-miss: true
- name: Run sccache-cache - name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.3 uses: mozilla-actions/sccache-action@8417cffc2ec64127ad83077aceaa8631f7cdc83e # v0.0.3
- uses: actions-rs/tarpaulin@v0.1 - uses: actions-rs/tarpaulin@044a1e5bdace8dd2f727b1af63c1d9a1d3572068 # v0.1
with: with:
# Constrained by https://github.com/actions-rs/tarpaulin/pull/23 # Constrained by https://github.com/actions-rs/tarpaulin/pull/23
version: "0.22.0" version: "0.22.0"
args: "--ignore-tests" args: "--ignore-tests"
out-type: "Html" out-type: "Html"
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
with: with:
name: tarpaulin-report name: tarpaulin-report
path: tarpaulin-report.html path: tarpaulin-report.html