Bump metal-api to version v0.23.2 #28
Workflow file for this run
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: Auto Generate | |
on: | |
push: | |
branches: | |
- auto-generate/* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.20 | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
args: -p bugs -p unused | |
- name: Generate | |
run: | | |
if ! which yq; then | |
sudo curl -Lo /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v4.27.2/yq_linux_amd64 | |
sudo chmod +x /usr/local/bin/yq | |
fi | |
make | |
- name: Push | |
run: | | |
if ! git diff --exit-code; then | |
git config --global user.name "auto-build" | |
git config --global user.email "[email protected]" | |
git add . | |
git commit -m "Bump to version $(cat VERSION)" | |
git push | |
fi |