From d5e17e69b11ab26881994402d59629980111ac1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Anda=20Estensen?= Date: Wed, 3 Jul 2024 15:30:52 +0200 Subject: [PATCH] Upgrade github actions --- .github/actions/test-coverage/action.yaml | 8 ++++---- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/test-coverage.yml | 6 +++--- .github/workflows/unit-tests.yml | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/actions/test-coverage/action.yaml b/.github/actions/test-coverage/action.yaml index e9112309..3d9c1e5d 100644 --- a/.github/actions/test-coverage/action.yaml +++ b/.github/actions/test-coverage/action.yaml @@ -22,17 +22,17 @@ runs: using: "composite" steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Checkout wiki - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{github.repository}}.wiki token: ${{ github.token }} path: ./.github/wiki/ - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{inputs.go-version}} @@ -55,4 +55,4 @@ runs: git remote set-url --push origin https://${{ github.token }}@github.com/Layr-Labs/eigensdk-go.wiki.git test ${{inputs.amend}} == "true" && \ git commit --amend --no-edit && git push --force-with-lease || \ - git commit -m "Update coverage" && git push https://${{ github.token }}@github.com/Layr-Labs/eigensdk-go.wiki.git \ No newline at end of file + git commit -m "Update coverage" && git push https://${{ github.token }}@github.com/Layr-Labs/eigensdk-go.wiki.git diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 4555d505..2fe494ac 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -19,7 +19,7 @@ jobs: go-version: "1.21" - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v6 with: version: latest args: --timeout 3m diff --git a/.github/workflows/test-coverage.yml b/.github/workflows/test-coverage.yml index 5e87ff5f..765b015e 100644 --- a/.github/workflows/test-coverage.yml +++ b/.github/workflows/test-coverage.yml @@ -11,10 +11,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: '1.21' @@ -22,4 +22,4 @@ jobs: uses: ./.github/actions/test-coverage with: chart: true - amend: true \ No newline at end of file + amend: true diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index e7f3a585..61b22bf5 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -11,9 +11,9 @@ jobs: name: Test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: '1.21' - name: Test - run: make tests \ No newline at end of file + run: make tests