From 59e3fedb2161c680adf82414591e3d465bc01d94 Mon Sep 17 00:00:00 2001 From: Kevin Lewi Date: Thu, 21 Sep 2023 18:45:22 -0700 Subject: [PATCH] Updating setup-rust-action (#125) --- .github/workflows/main.yml | 4 ++-- .github/workflows/publish.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1bedc85..9c9d0a7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,7 @@ on: branches: - main pull_request: - types: [opened, repoened, synchronize] + types: [opened, reopened, synchronize] jobs: cargo-audit: @@ -100,7 +100,7 @@ jobs: - --features serde steps: - uses: actions/checkout@v4 - - uses: hecrj/setup-rust-action@v1 + - uses: hecrj/setup-rust-action@v2 - run: rustup target add ${{ matrix.target }} - run: cargo build --verbose --target=${{ matrix.target }} --no-default-features ${{ matrix.frontend_feature }} ${{ matrix.backend_feature }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 24fdd8c..5ae8001 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,9 +10,10 @@ jobs: strategy: matrix: os: [ubuntu-latest] + rust: [stable] steps: - - uses: hecrj/setup-rust-action@v1 + - uses: hecrj/setup-rust-action@v2 with: rust-version: ${{ matrix.rust }} - uses: actions/checkout@master