Bump actions/checkout from 3 to 4 #375
Workflow file for this run
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
on: | |
merge_group: | |
pull_request: | |
push: | |
branches: | |
- main | |
env: | |
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN_PRODUCTION }} | |
AWS_REGION: us-west-2 | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PULUMI_TEST_OWNER: "moolumi" | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup dotnet SDK v6.0 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '6.0.x' | |
- name: Install Pulumi CLI | |
uses: pulumi/actions@v4 | |
- name: Format Pulumi SDK | |
run: dotnet run format-sdk verify | |
- name: Build Pulumi SDK | |
run: dotnet run build-sdk | |
- name: Test Pulumi SDK | |
run: dotnet run test-sdk coverage | |
- name: Test Pulumi Automation SDK | |
run: dotnet run test-automation-sdk coverage | |
- name: Upload coverage data | |
uses: codecov/codecov-action@v3 | |
with: | |
directory: coverage | |
files: "*" | |
fail_ci_if_error: false | |
verbose: true | |
token: ${{ secrets.CODECOV_TOKEN }} | |
IntegrationTests: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-11] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup dotnet SDK v6.0 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '6.0.x' | |
- name: Set up Go 1.19.x | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.19.x | |
- name: Install Pulumi CLI | |
uses: pulumi/actions@v4 | |
- name: TestEmptyDotNet | |
run: dotnet run integration test TestEmptyDotNet | |
- name: TestStackReferenceDotnet | |
run: dotnet run integration test TestStackReferenceDotnet | |
- name: TestConstructDotnet | |
run: dotnet run integration test TestConstructDotnet | |
- name: TestPrintfDotNet | |
run: dotnet run integration test TestPrintfDotNet | |
- name: TestStackOutputsDotNet | |
run: dotnet run integration test TestStackOutputsDotNet | |
- name: TestStackComponentDotNet | |
run: dotnet run integration test TestStackComponentDotNet | |
- name: TestStackComponentServiceProviderDotNet | |
run: dotnet run integration test TestStackComponentServiceProviderDotNet | |
- name: TestConfigBasicDotNet | |
run: dotnet run integration test TestConfigBasicDotNet | |
- name: TestConfigSecretsWarnDotNet | |
run: dotnet run integration test TestConfigSecretsWarnDotNet | |
- name: TestStackReferenceSecretsDotnet | |
run: dotnet run integration test TestStackReferenceSecretsDotnet | |
- name: TestLargeResourceDotNet | |
run: dotnet run integration test TestLargeResourceDotNet | |
- name: TestConstructPlainDotnet | |
run: dotnet run integration test TestConstructPlainDotnet | |
- name: TestConstructUnknownDotnet | |
run: dotnet run integration test TestConstructUnknownDotnet | |
- name: TestConstructMethodsDotnet | |
run: dotnet run integration test TestConstructMethodsDotnet | |
- name: TestConstructMethodsUnknownDotnet | |
run: dotnet run integration test TestConstructMethodsUnknownDotnet | |
- name: TestConstructMethodsErrorsDotnet | |
run: dotnet run integration test TestConstructMethodsErrorsDotnet | |
- name: TestConstructProviderDotnet | |
run: dotnet run integration test TestConstructProviderDotnet | |
- name: TestGetResourceDotnet | |
run: dotnet run integration test TestGetResourceDotnet | |
- name: TestAboutDotnet | |
run: dotnet run integration test TestAboutDotnet | |
- name: TestDotNetTransformations | |
run: dotnet run integration test TestDotNetTransformations | |
- name: TestResourceRefsGetResourceDotnet | |
run: dotnet run integration test TestResourceRefsGetResourceDotnet | |
- name: TestDotNetAliasesRemame | |
run: dotnet run integration test TestDotNetAliasesRemame | |
- name: TestDotNetAliasesAdoptIntoComponent | |
run: dotnet run integration test TestDotNetAliasesAdoptIntoComponent | |
- name: TestDotNetAliasesRenameComponentAndChild | |
run: dotnet run integration test TestDotNetAliasesRenameComponentAndChild | |
- name: TestDotNetAliasesRetypeComponent | |
run: dotnet run integration test TestDotNetAliasesRetypeComponent | |
- name: TestDotNetAliasesRenameComponent | |
run: dotnet run integration test TestDotNetAliasesRenameComponent | |
- name: TestDotNetAliasesRetypeParents | |
run: dotnet run integration test TestDotNetAliasesRetypeParents | |
- name: TestProvider | |
run: dotnet run integration test TestProvider | |
- name: TestDeletedWith | |
run: dotnet run integration test TestDeletedWith |