feat/sync_provider_1.81.100 #38
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
name: Pull Request Checking | |
on: | |
pull_request: | |
workflow_dispatch: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
worktree_clean_checking: | |
name: workspace checking | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Unshallow clone for tags | |
run: git fetch --prune --unshallow --tags | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.goversion }} | |
- name: Install pulumictl | |
uses: jaxxstorm/[email protected] | |
with: | |
repo: pulumi/pulumictl | |
tag: v0.0.46 | |
- name: Install Pulumi CLI | |
uses: pulumi/[email protected] | |
with: | |
pulumi-version: 3.117.0 | |
- name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{matrix.nodeversion}} | |
- name: Setup DotNet | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: ${{matrix.dotnetversion}} | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{matrix.pythonversion}} | |
- name: Build SDK | |
run: make build_${{ matrix.language }} | |
- name: Check worktree clean | |
run: | | |
git update-index -q --refresh | |
if ! git diff-files --quiet; then | |
>&2 echo "error: working tree is not clean, aborting!" | |
git status | |
git diff | |
exit 1 | |
fi | |
strategy: | |
fail-fast: true | |
matrix: | |
dotnetversion: | |
- 6.0.408 | |
goversion: | |
- 1.21.x | |
language: | |
- nodejs | |
- python | |
- dotnet | |
- go | |
nodeversion: | |
- 18.x | |
pythonversion: | |
- "3.9" |