From c570dbf41afe1d94da83c5a2ec1c65055eeda771 Mon Sep 17 00:00:00 2001 From: Eddy Filip Date: Fri, 23 Aug 2024 15:14:18 +0300 Subject: [PATCH] Update GitHub Actions' versions --- .github/workflows/lint.yml | 7 +++---- .github/workflows/release.yml | 18 +++++++++--------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index dc5ac87..c17970c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,9 +20,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install go - uses: actions/setup-go@v4 + uses: actions/setup-go@v6 with: # The versions of golangci-lint and setup-go here cross-depend and need to update together. go-version: 1.21 @@ -37,8 +37,7 @@ jobs: run: make upstream - run: cd provider && go mod tidy - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v6 with: version: v1.54.1 working-directory: provider - skip-pkg-cache: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 01d52bb..f55c4f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: ${{ matrix.goversion }} - name: Install pulumictl @@ -61,37 +61,37 @@ jobs: needs: publish_binary steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v6 with: go-version: ${{ matrix.goversion }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.10.0 + uses: jaxxstorm/action-install-gh-release@v1 with: repo: pulumi/pulumictl - name: Install pulumi - uses: pulumi/actions@v4 + uses: pulumi/actions@v5 - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.nodeversion }} registry-url: ${{ env.NPM_REGISTRY_URL }} - name: Setup DotNet - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ matrix.dotnetverson }} - name: Setup Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.pythonversion }} @@ -125,7 +125,7 @@ jobs: - if: ${{ matrix.language == 'nodejs' && env.PUBLISH_NPM == 'true' }} name: Publish to NPM - uses: JS-DevTools/npm-publish@v1 + uses: JS-DevTools/npm-publish@v3 with: access: "public" token: ${{ env.NPM_TOKEN }}