Skip to content

Commit

Permalink
Bump actions/setup-* to switch from Node 16 to 20, plus Go and Node (#…
Browse files Browse the repository at this point in the history
…3185)

**Bump actions/setup-foo to switch from Node 16 to 20**
This gets rid of these warnings in CI:
> [build_test / Build binaries and
schema](https://github.com/pulumi/pulumi-azure->
native/actions/runs/8464175900/job/23188371782)
> Node.js 16 actions are deprecated. Please update the following actions
to use Node.js 20: ...


**Bump Go to 1.22 and Node to 20 in CI**
Those are the current releases resp. LTS versions.
  • Loading branch information
thomas11 committed Mar 28, 2024
1 parent f8a4350 commit e153154
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/actions/install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,33 @@ runs:
using: "composite"
steps:
- name: Install Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: "1.21.x"
go-version: "1.22.x"

- name: Install Pulumi CLI
uses: pulumi/actions@v4
uses: pulumi/actions@v5

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: https://registry.npmjs.org

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.8"

- name: Setup DotNet
if: inputs.skip_dotnet_and_java != 'true'
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.x

- name: Setup Java
if: inputs.skip_dotnet_and_java != 'true'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: "11"
distribution: temurin
Expand Down

0 comments on commit e153154

Please sign in to comment.