From 21d730500f6762a854703a0d24ad71c25b5b53ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0nan=C3=A7=20G=C3=BCm=C3=BC=C5=9F?= Date: Mon, 12 Feb 2024 12:20:00 +0300 Subject: [PATCH] Bump Github actions --- .github/workflows/block-fixup.yml | 2 +- .github/workflows/e2e.yml | 4 ++-- .github/workflows/lint.yml | 10 +++++----- .github/workflows/test.yml | 18 +++++++++--------- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/block-fixup.yml b/.github/workflows/block-fixup.yml index 567141be1..1e13d04bf 100644 --- a/.github/workflows/block-fixup.yml +++ b/.github/workflows/block-fixup.yml @@ -7,6 +7,6 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Block Fixup Commit Merge uses: 13rac1/block-fixup-merge-action@v2.0.0 diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index d0c714deb..d05aefe3b 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -24,10 +24,10 @@ jobs: steps: - name: Checkout code if: matrix.go != 'tip' || matrix.platform != 'windows-latest' - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install Go if: matrix.go != 'tip' || matrix.platform != 'windows-latest' - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.x - name: Install Go tip diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 721892492..206dc5ada 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,11 +13,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.19.x check-latest: true @@ -36,11 +36,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.19.x check-latest: true @@ -49,7 +49,7 @@ jobs: echo "::set-output name=Version::$(head -n 1 "${GITHUB_WORKSPACE}/.golangci.yml" | tr -d '# ')" id: version - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. version: ${{ steps.version.outputs.Version }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2a28030d5..48d55fc16 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,7 @@ jobs: runs-on: ${{ matrix.platform }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Get the k6 version @@ -30,7 +30,7 @@ jobs: run: | echo "Running tests on '${GITHUB_REF}' with '$(git describe --tags --always --long --dirty)' checked out..." - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} check-latest: true @@ -46,9 +46,9 @@ jobs: continue-on-error: true steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.x check-latest: true @@ -77,9 +77,9 @@ jobs: runs-on: ${{ matrix.platform }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} check-latest: true @@ -101,7 +101,7 @@ jobs: - name: Generate coverage HTML report run: go tool cover -html=coverage.txt -o coverage.html - name: Upload coverage report - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: test-coverage-report-${{ matrix.platform }} path: coverage.html @@ -115,9 +115,9 @@ jobs: runs-on: ${{ matrix.platform }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} check-latest: true