From 374b9b3b333806676c7da50a7f55de8cb597d30e Mon Sep 17 00:00:00 2001 From: Artur Troian Date: Wed, 14 Feb 2024 11:43:29 -0500 Subject: [PATCH] ci: bump actions (#122) Signed-off-by: Artur Troian --- .github/workflows/breakage.yaml | 4 ++-- .github/workflows/labeler.yaml | 2 +- .github/workflows/lint.yaml | 8 ++++---- .github/workflows/release.yaml | 4 ++-- .github/workflows/shellcheck.yaml | 2 +- .github/workflows/tests.yaml | 8 ++++---- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/breakage.yaml b/.github/workflows/breakage.yaml index b2a26c0b..0dcb87af 100644 --- a/.github/workflows/breakage.yaml +++ b/.github/workflows/breakage.yaml @@ -8,7 +8,7 @@ jobs: breakage: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup env @@ -16,7 +16,7 @@ jobs: - run: | toolchain=$(./script/tools.sh gotoolchain | sed 's/go*//') echo "GOVERSION=${toolchain}" >> $GITHUB_ENV - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: "${{ env.GOVERSION }}" - name: go mod vendor diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml index 83e3133f..a52113da 100644 --- a/.github/workflows/labeler.yaml +++ b/.github/workflows/labeler.yaml @@ -12,7 +12,7 @@ jobs: pull-requests: write # for actions/labeler to add labels to PRs runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/labeler@v5 with: configuration-path: .github/labeler.yaml diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 8522d60b..334cd3d7 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -13,13 +13,13 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup env uses: HatsuneMiku3939/direnv-action@v1 - run: | toolchain=$(./script/tools.sh gotoolchain | sed 's/go*//') echo "GOVERSION=${toolchain}" >> $GITHUB_ENV - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: "${{ env.GOVERSION }}" - name: go mod vendor @@ -30,13 +30,13 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup env uses: HatsuneMiku3939/direnv-action@v1 - run: | toolchain=$(./script/tools.sh gotoolchain | sed 's/go*//') echo "GOVERSION=${toolchain}" >> $GITHUB_ENV - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: "${{ env.GOVERSION }}" - name: go mod vendor diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d560c830..1fa7c9a1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,14 +9,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - run: git fetch --prune --unshallow - name: Setup env uses: HatsuneMiku3939/direnv-action@v1 - run: | toolchain=$(./script/tools.sh gotoolchain | sed 's/go*//') echo "GOVERSION=${toolchain}" >> $GITHUB_ENV - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: "${{ env.GOVERSION }}" - name: get version diff --git a/.github/workflows/shellcheck.yaml b/.github/workflows/shellcheck.yaml index b8a2074d..9d603f78 100644 --- a/.github/workflows/shellcheck.yaml +++ b/.github/workflows/shellcheck.yaml @@ -10,7 +10,7 @@ jobs: shellcheck-lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: git fetch --prune --unshallow - name: Setup env uses: HatsuneMiku3939/direnv-action@v1 diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 26b123bf..cc8345e3 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -9,28 +9,28 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: git fetch --prune --unshallow - name: Setup env uses: HatsuneMiku3939/direnv-action@v1 - run: | toolchain=$(./script/tools.sh gotoolchain | sed 's/go*//') echo "GOVERSION=${toolchain}" >> $GITHUB_ENV - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: "${{ env.GOVERSION }}" - run: TEST_RACE=1 make test coverage: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: git fetch --prune --unshallow - name: Setup env uses: HatsuneMiku3939/direnv-action@v1 - run: | toolchain=$(./script/tools.sh gotoolchain | sed 's/go*//') echo "GOVERSION=${toolchain}" >> $GITHUB_ENV - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: "${{ env.GOVERSION }}" - run: make test-coverage