Skip to content

Commit

Permalink
Update GitHub Actions' versions
Browse files Browse the repository at this point in the history
  • Loading branch information
edif2008 committed Aug 23, 2024
1 parent 7754f56 commit c570dbf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit c570dbf

Please sign in to comment.