diff --git a/.github/workflows/bign256.yml b/.github/workflows/bign256.yml index 2b30e4ac..8922c3ec 100644 --- a/.github/workflows/bign256.yml +++ b/.github/workflows/bign256.yml @@ -114,6 +114,6 @@ jobs: - run: cargo doc --all-features check-minimal-versions: - uses: ./.github/workflows/check-minimal-versions.yml + uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master with: - working-directory: bign256 + working-directory: ${{ github.workflow }} diff --git a/.github/workflows/bp256.yml b/.github/workflows/bp256.yml index 1caca46c..a812c708 100644 --- a/.github/workflows/bp256.yml +++ b/.github/workflows/bp256.yml @@ -72,6 +72,6 @@ jobs: - run: cargo doc --all-features check-minimal-versions: - uses: ./.github/workflows/check-minimal-versions.yml + uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master with: - working-directory: bp256 + working-directory: ${{ github.workflow }} diff --git a/.github/workflows/bp384.yml b/.github/workflows/bp384.yml index 598c381b..9b44de8f 100644 --- a/.github/workflows/bp384.yml +++ b/.github/workflows/bp384.yml @@ -72,6 +72,6 @@ jobs: - run: cargo doc --all-features check-minimal-versions: - uses: ./.github/workflows/check-minimal-versions.yml + uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master with: - working-directory: bp384 + working-directory: ${{ github.workflow }} diff --git a/.github/workflows/check-minimal-versions.yml b/.github/workflows/check-minimal-versions.yml deleted file mode 100644 index 0f2b23fc..00000000 --- a/.github/workflows/check-minimal-versions.yml +++ /dev/null @@ -1,28 +0,0 @@ -# This workflow checks that the project builds and tests successfully with the -# minimal versions of all dependencies that are compatible with the current -# Cargo.lock file. This is useful for ensuring that the project is not -# accidentally relying on newer versions of dependencies than it actually -# needs. - -name: Check minimal versions - -on: - workflow_call: - inputs: - working-directory: - type: string - required: true -jobs: - check-minimal-versions: - defaults: - run: - working-directory: ${{ inputs.working-directory }} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable - - uses: dtolnay/rust-toolchain@nightly - - name: cargo update -Zminimal-versions - run: cargo +nightly update -Zdirect-minimal-versions - - name: cargo test - run: cargo test --locked --all-features --all-targets diff --git a/.github/workflows/k256.yml b/.github/workflows/k256.yml index ef8a3dd3..0ae654d4 100644 --- a/.github/workflows/k256.yml +++ b/.github/workflows/k256.yml @@ -143,6 +143,6 @@ jobs: - run: cargo doc --all-features check-minimal-versions: - uses: ./.github/workflows/check-minimal-versions.yml + uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master with: - working-directory: k256 + working-directory: ${{ github.workflow }} diff --git a/.github/workflows/p192.yml b/.github/workflows/p192.yml index cffa8ecc..c371c4bf 100644 --- a/.github/workflows/p192.yml +++ b/.github/workflows/p192.yml @@ -84,6 +84,6 @@ jobs: - run: cargo doc --all-features check-minimal-versions: - uses: ./.github/workflows/check-minimal-versions.yml + uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master with: - working-directory: p192 + working-directory: ${{ github.workflow }} diff --git a/.github/workflows/p224.yml b/.github/workflows/p224.yml index 77501c8c..41586aa2 100644 --- a/.github/workflows/p224.yml +++ b/.github/workflows/p224.yml @@ -86,6 +86,6 @@ jobs: - run: cargo doc --all-features check-minimal-versions: - uses: ./.github/workflows/check-minimal-versions.yml + uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master with: - working-directory: p224 + working-directory: ${{ github.workflow }} diff --git a/.github/workflows/p256.yml b/.github/workflows/p256.yml index 0330a399..3a2a4d12 100644 --- a/.github/workflows/p256.yml +++ b/.github/workflows/p256.yml @@ -127,6 +127,6 @@ jobs: - run: cargo doc --all-features check-minimal-versions: - uses: ./.github/workflows/check-minimal-versions.yml + uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master with: - working-directory: p256 + working-directory: ${{ github.workflow }} diff --git a/.github/workflows/p384.yml b/.github/workflows/p384.yml index 2e282aa0..395f51c2 100644 --- a/.github/workflows/p384.yml +++ b/.github/workflows/p384.yml @@ -123,6 +123,6 @@ jobs: - run: cargo doc --all-features check-minimal-versions: - uses: ./.github/workflows/check-minimal-versions.yml + uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master with: - working-directory: p384 + working-directory: ${{ github.workflow }} diff --git a/.github/workflows/p521.yml b/.github/workflows/p521.yml index eb31cf21..9eddf9c9 100644 --- a/.github/workflows/p521.yml +++ b/.github/workflows/p521.yml @@ -93,6 +93,6 @@ jobs: - run: cargo doc --all-features check-minimal-versions: - uses: ./.github/workflows/check-minimal-versions.yml + uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master with: - working-directory: p521 + working-directory: ${{ github.workflow }} diff --git a/.github/workflows/primefield.yml b/.github/workflows/primefield.yml index 815e758c..c70df964 100644 --- a/.github/workflows/primefield.yml +++ b/.github/workflows/primefield.yml @@ -62,6 +62,6 @@ jobs: - run: cargo doc --all-features check-minimal-versions: - uses: ./.github/workflows/check-minimal-versions.yml + uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master with: - working-directory: primefield + working-directory: ${{ github.workflow }} diff --git a/.github/workflows/primeorder.yml b/.github/workflows/primeorder.yml index a8135aa3..ca8c940e 100644 --- a/.github/workflows/primeorder.yml +++ b/.github/workflows/primeorder.yml @@ -66,6 +66,6 @@ jobs: - run: cargo doc --all-features check-minimal-versions: - uses: ./.github/workflows/check-minimal-versions.yml + uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master with: - working-directory: primeorder + working-directory: ${{ github.workflow }} diff --git a/.github/workflows/sm2.yml b/.github/workflows/sm2.yml index 97a30130..cf534d3e 100644 --- a/.github/workflows/sm2.yml +++ b/.github/workflows/sm2.yml @@ -83,6 +83,6 @@ jobs: - run: cargo doc --all-features check-minimal-versions: - uses: ./.github/workflows/check-minimal-versions.yml + uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master with: - working-directory: sm2 + working-directory: ${{ github.workflow }}