Skip to content

Commit

Permalink
Check
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Hume committed Dec 12, 2023
1 parent 3cb2305 commit fe8c02f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
env:
# THIS GITHUB_TOKEN IS A REQUIREMENT TO BE ABLE TO WRITE TO GH RELEASES
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOVERSION: 1.21.x

jobs:
publish_binary:
Expand All @@ -24,7 +25,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.21.x
go-version: ${{ env.GOVERSION }}

- name: Install pulumictl
uses: jaxxstorm/[email protected]
Expand Down
18 changes: 7 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: test

on:
pull_request:
paths:
Expand All @@ -11,8 +12,8 @@ env:
MZ_USER: mz_system
MZ_SSLMODE: disable
MZ_PORT: 6877
# THIS GITHUB_TOKEN IS A REQUIREMENT TO BE ABLE TO WRITE TO GH RELEASES
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PYTHONVERSION: 3.9
GOVERSION: 1.21.x

jobs:
test:
Expand All @@ -26,18 +27,13 @@ jobs:

- uses: actions/setup-go@v4
with:
go-version: 1.21.x
go-version: ${{ env.GOVERSION }}

- uses: jaxxstorm/[email protected]
- uses: actions/setup-python@v2
with:
repo: pulumi/pulumictl

- run: echo "GORELEASER_CURRENT_TAG=v$(pulumictl get version --language generic)" >> $GITHUB_ENV
python-version: ${{ env.PYTHONVERSION }}

- uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: -p 3 release --rm-dist
- uses: pulumi/action-install-pulumi-cli@v2

- run: make build_python

Expand Down

0 comments on commit fe8c02f

Please sign in to comment.