Allow use of version qualifier for staging artifacts (#42304) (#42322) #29371
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: check-default | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- 7.1* | |
- 8.* | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: .go-version | |
# when using ubuntu-latest, python 3.10 is not the default version. | |
- name: Fix Code is not compatible with Python 3.12 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Run check-default | |
run: | | |
go install github.com/magefile/mage | |
make check-default |