Skip to content

Commit f5f412c

Browse files
committed
test
Signed-off-by: Alexander Dahmen <[email protected]>
1 parent 321e4c7 commit f5f412c

File tree

2 files changed

+53
-4
lines changed

2 files changed

+53
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 52 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,13 @@ on:
77
branches:
88
- main
99

10+
permissions:
11+
contents: write
12+
id-token: write
13+
1014
env:
1115
GO_VERSION: "1.23"
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1217

1318
jobs:
1419
main:
@@ -17,6 +22,8 @@ jobs:
1722
steps:
1823
- name: Checkout
1924
uses: actions/checkout@v4
25+
- name: Unshallow clone for tags
26+
run: git fetch --prune --unshallow --tags
2027

2128
- name: Install Go ${{ env.GO_VERSION }}
2229
uses: actions/setup-go@v5
@@ -28,11 +35,52 @@ jobs:
2835
with:
2936
repo: pulumi/pulumictl
3037

31-
- name: Build sdks
32-
run: make build
38+
- name: Install pulumi
39+
uses: pulumi/actions@v4
40+
41+
- name: Setup Node
42+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # tag=v4.4.0
43+
with:
44+
node-version: ${{matrix.nodeversion}}
45+
registry-url: ${{env.NPM_REGISTRY_URL}}
46+
- name: Setup DotNet
47+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # tag=v2.1.0
48+
with:
49+
dotnet-version: ${{matrix.dotnetverson}}
50+
- name: Setup Python
51+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # tag=v5.6.0
52+
with:
53+
python-version: ${{matrix.pythonversion}}
54+
55+
- name: Debugging
56+
run: |
57+
which pulumictl
58+
pulumictl version
59+
make build
60+
# make tfgen
61+
# pulumictl get version --language generic --debug
62+
63+
#- name: Build sdks
64+
# run: make build
3365

34-
- name: Lint
35-
run: make lint_provider
66+
#- name: Lint
67+
# run: make lint_provider
68+
strategy:
69+
fail-fast: true
70+
matrix:
71+
dotnetversion:
72+
- 3.1.301
73+
goversion:
74+
- 1.23.x
75+
language:
76+
- nodejs
77+
- python
78+
- dotnet
79+
- go
80+
nodeversion:
81+
- 20.x
82+
pythonversion:
83+
- "3.9"
3684

3785
config:
3886
name: Check GoReleaser config

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.idea
22
.code
3+
pulumi-stackit.sln
34
**/vendor/
45
.pulumi
56
**/bin/

0 commit comments

Comments
 (0)