-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FileConventions.Test: new test for ver. in env
Added a failing test for finding inconsistent versions in Github CI workflows when versions are stored in env vars and are referenced with `env.` prefix (e.g. `env.FOO`).
- Loading branch information
1 parent
92e1ef8
commit e318e0a
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
.../DummyFiles/DummyWorkflowsWithEnvPrefixed/DummyCIWithPulumiVersionInEnvPrefixedV2.0.0.yml
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,17 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
PULUMI_VERSION: 2.0.0 | ||
|
||
jobs: | ||
jobA: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Pulumi CLI | ||
with: | ||
pulumi-version: ${{ env.PULUMI_VERSION }} | ||
- name: Print "Hello World!" | ||
run: echo "Hello World!" |
17 changes: 17 additions & 0 deletions
17
.../DummyFiles/DummyWorkflowsWithEnvPrefixed/DummyCIWithPulumiVersionInEnvPrefixedV2.0.1.yml
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,17 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
PULUMI_VERSION: 2.0.1 | ||
|
||
jobs: | ||
jobA: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Pulumi CLI | ||
with: | ||
pulumi-version: ${{ env.PULUMI_VERSION }} | ||
- name: Print "Hello World!" | ||
run: echo "Hello World!" |
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