-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
55f8e39
commit 06b6a75
Showing
4 changed files
with
83 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Install Languages & Frameworks | ||
description: Installs Go, Pulumi, Node.JS Python and optionally dotnet and Java (if not in quick mode) | ||
|
||
inputs: | ||
skip_dotnet_and_java: | ||
description: Set to "true" to skip dotnet and java | ||
# These take 13 and 25 seconds, respectively | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: "go.mod" | ||
cache-dependency-path: | | ||
go.sum | ||
- name: Install Pulumi CLI | ||
uses: pulumi/actions@v6 | ||
with: | ||
pulumi-version: dev | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
registry-url: https://registry.npmjs.org | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.9" | ||
|
||
- name: Setup DotNet | ||
if: inputs.skip_dotnet_and_java != 'true' | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 6.x | ||
|
||
- name: Setup Java | ||
if: inputs.skip_dotnet_and_java != 'true' | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: "11" | ||
distribution: temurin | ||
cache: gradle | ||
|
||
- name: Setup Gradle | ||
if: inputs.skip_dotnet_and_java != 'true' | ||
uses: gradle/gradle-build-action@v3 | ||
with: | ||
gradle-version: "8.7" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module github.com/pulumi/providertest | ||
|
||
go 1.20 | ||
go 1.23 | ||
|
||
require ( | ||
github.com/gkampitakis/go-snaps v0.4.9 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters