Skip to content

Commit

Permalink
use a single source of truth for rust version in workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Ondrej Prazak <[email protected]>
  • Loading branch information
Ondrej Prazak committed Feb 23, 2024
1 parent 9803d30 commit ff2676d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-napi/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ inputs:
node-version:
default: 18
rust-version:
default: 1.70.0
required: true

runs:
using: "composite"
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup-codecov-rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ inputs:
runs:
using: "composite"
steps:
- name: Install nightly 1.71
- name: Install nightly 1.72
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-05-08
toolchain: nightly-2023-08-24
override: true
- uses: Swatinem/rust-cache@v2
- name: "Install dependencies"
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ jobs:
strip *.node
- host: ubuntu-20.04
target: x86_64-unknown-linux-musl
docker: ghcr.io/hyperledger/aries-vcx/napi-rs-alpine
docker: ghcr.io/hyperledger/aries-vcx/napi-rs-alp
build: |-
set -e
env
Expand Down Expand Up @@ -550,7 +550,6 @@ jobs:
build: ${{ matrix.settings.build }}
node-version: ${{ env.NODE_VERSION }}
rust-version: ${{ env.RUST_TOOLCHAIN_VERSION }}
default: true

publish-napi:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit ff2676d

Please sign in to comment.