File tree Expand file tree Collapse file tree 1 file changed +66
-0
lines changed Expand file tree Collapse file tree 1 file changed +66
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Pull Request Checking
2
+ on :
3
+ pull_request :
4
+ workflow_dispatch :
5
+
6
+ env :
7
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8
+
9
+ jobs :
10
+ worktree_clean_checking :
11
+ name : workspace checking
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout Repo
15
+ uses : actions/checkout@v2
16
+ - name : Unshallow clone for tags
17
+ run : git fetch --prune --unshallow --tags
18
+ - name : Install Go
19
+ uses : actions/setup-go@v2
20
+ with :
21
+ go-version : ${{ matrix.goversion }}
22
+ - name : Install pulumictl
23
+ uses : jaxxstorm/action-install-gh-release@v1.5.0
24
+ with :
25
+ repo : pulumi/pulumictl
26
+ - name : Install Pulumi CLI
27
+ uses : pulumi/action-install-pulumi-cli@v2.0.0
28
+ - name : Setup Node
29
+ uses : actions/setup-node@v1
30
+ with :
31
+ node-version : ${{matrix.nodeversion}}
32
+ - name : Setup DotNet
33
+ uses : actions/setup-dotnet@v1
34
+ with :
35
+ dotnet-version : ${{matrix.dotnetverson}}
36
+ - name : Setup Python
37
+ uses : actions/setup-python@v1
38
+ with :
39
+ python-version : ${{matrix.pythonversion}}
40
+ - name : Build SDK
41
+ run : make build_${{ matrix.language }}
42
+ - name : Check worktree clean
43
+ run : |
44
+ git update-index -q --refresh
45
+ if ! git diff-files --quiet; then
46
+ >&2 echo "error: working tree is not clean, aborting!"
47
+ git status
48
+ git diff
49
+ exit 1
50
+ fi
51
+ strategy :
52
+ fail-fast : true
53
+ matrix :
54
+ dotnetversion :
55
+ - 3.1.301
56
+ goversion :
57
+ - 1.19.x
58
+ language :
59
+ - nodejs
60
+ - python
61
+ - dotnet
62
+ - go
63
+ nodeversion :
64
+ - 14.x
65
+ pythonversion :
66
+ - " 3.9"
You can’t perform that action at this time.
0 commit comments