From 12ff4168c355ef06f760be02cd42059051da48fa Mon Sep 17 00:00:00 2001 From: Shunsuke Shibayama Date: Sat, 7 Dec 2024 18:08:34 +0900 Subject: [PATCH] CI: update actions dependencies --- .github/workflows/docs.yml | 2 +- .github/workflows/main.yml | 10 +++++----- .github/workflows/release.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index df9eb4bf5..16c4fd9d0 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,7 +15,7 @@ jobs: run: working-directory: doc steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: "3.11" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1362ce3c3..4e2ca4b43 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,7 +42,7 @@ jobs: RUST_BACKTRACE: full timeout-minutes: 20 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} @@ -63,7 +63,7 @@ jobs: os: [windows-latest, ubuntu-latest, macos-13, macos-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: Swatinem/rust-cache@v2 - run: rustup update stable - run: cargo build --all --all-targets --verbose @@ -71,7 +71,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: Swatinem/rust-cache@v2 - run: rustup update stable - name: cargo clippy @@ -84,12 +84,12 @@ jobs: runs-on: ubuntu-latest if: contains(github.event.head_commit.message, 'update version (nightly') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: Swatinem/rust-cache@v2 - run: rustup update stable + - uses: obi1kenobi/cargo-semver-checks-action@v2 - name: Check semver run: | - cargo install cargo-semver-checks --locked cargo semver-checks --all - name: cargo publish run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4059c7838..52bd9a8ed 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: create-release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: taiki-e/create-gh-release-action@v1 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -20,7 +20,7 @@ jobs: cargo-publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: publish run: | rustup update stable @@ -48,7 +48,7 @@ jobs: os: windows-latest runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: update-rustup run: rustup update stable - uses: taiki-e/upload-rust-binary-action@v1