From 2c3e231b86454dd732bc4fe9cded737fab206362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Herbel?= Date: Wed, 16 Oct 2024 19:21:23 +0200 Subject: [PATCH] Unpin + update some GitHub actions --- .github/workflows/cargo_lock.yaml | 2 +- .github/workflows/cla.yml | 2 +- .github/workflows/rcc.yaml | 2 +- .github/workflows/release.yaml | 2 +- .github/workflows/robotmk_build.yaml | 4 ++-- .github/workflows/system_tests.yaml | 10 +++++----- .github/workflows/tests.yaml | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/cargo_lock.yaml b/.github/workflows/cargo_lock.yaml index fb5756a4..d3761a55 100644 --- a/.github/workflows/cargo_lock.yaml +++ b/.github/workflows/cargo_lock.yaml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 # Only implemented for `main` branch. - - uses: actions-rust-lang/setup-rust-toolchain@v1.9 + - uses: actions-rust-lang/setup-rust-toolchain@v1 - run: echo "BRANCH_NAME=automation/cargo_update$(date +%s)" >> "$GITHUB_OUTPUT" id: branch_name - run: git checkout -b ${{ steps.branch_name.outputs.BRANCH_NAME }} diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index a1e2b43a..30119ea5 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -12,7 +12,7 @@ jobs: - name: "CLA Assistant" if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' # Beta Release - uses: contributor-assistant/github-action@v2.2.0 + uses: contributor-assistant/github-action@vv2.6.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # the below token should have repo scope and must be manually added by you in the repository's secret diff --git a/.github/workflows/rcc.yaml b/.github/workflows/rcc.yaml index a245c67b..35cf2353 100644 --- a/.github/workflows/rcc.yaml +++ b/.github/workflows/rcc.yaml @@ -32,7 +32,7 @@ jobs: with: repository: robocorp/rcc ref: ${{ env.RCC_TAG }} - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - uses: ruby/setup-ruby@v1 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d7fc581c..ea94af45 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -51,7 +51,7 @@ jobs: git tag ${{ steps.compute-tag.outputs.TAG }} # Fails, if tag exists. git push origin ${{ steps.compute-tag.outputs.TAG }} - - uses: ncipollo/release-action@v1.13.0 + - uses: ncipollo/release-action@v1 with: allowUpdates: false artifacts: "executables.zip,assets/robotmk_core-1.0.0.mkp" diff --git a/.github/workflows/robotmk_build.yaml b/.github/workflows/robotmk_build.yaml index 2fbdc6b4..c49af0ee 100644 --- a/.github/workflows/robotmk_build.yaml +++ b/.github/workflows/robotmk_build.yaml @@ -9,7 +9,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1.9 + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: target: x86_64-pc-windows-gnu # By default, setup-rust-toolchain sets "-D warnings". As a side effect, the settings in @@ -35,7 +35,7 @@ jobs: - run: sudo apt-get update - run: sudo apt-get install -y musl-tools - - uses: actions-rust-lang/setup-rust-toolchain@v1.9 + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: target: x86_64-unknown-linux-musl # By default, setup-rust-toolchain sets "-D warnings". As a side effect, the settings in diff --git a/.github/workflows/system_tests.yaml b/.github/workflows/system_tests.yaml index 059afeac..6518499d 100644 --- a/.github/workflows/system_tests.yaml +++ b/.github/workflows/system_tests.yaml @@ -8,8 +8,8 @@ jobs: test_scheduler_windows: runs-on: windows-latest steps: - - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1.9 + - uses: actions/checkout4 + - uses: actions-rust-lang/setup-rust-toolchain1 with: target: x86_64-pc-windows-gnu # By default, setup-rust-toolchain sets "-D warnings". As a side effect, the settings in @@ -17,12 +17,12 @@ jobs: # https://doc.rust-lang.org/cargo/reference/config.html#buildrustflags # "There are four mutually exclusive sources of extra flags" rustflags: "" - - uses: actions/setup-python@v5 + - uses: actions/setup-python5 with: python-version: '3.12' cache: 'pip' - run: pip install -r tests/minimal_suite/requirements.txt - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact4 with: name: rcc path: C:\ @@ -57,7 +57,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1.9 + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: target: x86_64-unknown-linux-gnu # By default, setup-rust-toolchain sets "-D warnings". As a side effect, the settings in diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index a543ff87..8e7ed09e 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -14,7 +14,7 @@ jobs: - { os: ubuntu-latest, target: x86_64-unknown-linux-gnu } steps: - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1.9 + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: components: rustfmt, clippy target: ${{ matrix.type.target }}