Allow pulumictl get version
on bare repositories
#102
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 | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Go 1.21 | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21.x' | |
- name: Run tests | |
run: make test | |
- name: Install and run | |
run: | | |
make install | |
pulumictl convert-version -v 0.0.1+dev -l python | |
lint: | |
name: Lint | |
uses: ./.github/workflows/stage-lint.yml |