kube/alrest/pocket-id: version bump #190
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: Regenerate generated files | |
on: | |
push: | |
branches: [ "master" ] | |
permissions: | |
pull-requests: write | |
contents: write | |
actions: write | |
jobs: | |
regenerate: | |
runs-on: alrest-x | |
steps: | |
- name: Clone code | |
uses: actions/checkout@v4 | |
- name: build essential | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y build-essential | |
- uses: Homebrew/actions/setup-homebrew@master | |
- name: Setup Homebrew cellar cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
/home/linuxbrew/.linuxbrew/Cellar | |
/home/linuxbrew/.linuxbrew/bin | |
/home/linuxbrew/.linuxbrew/etc | |
/home/linuxbrew/.linuxbrew/include | |
/home/linuxbrew/.linuxbrew/lib | |
/home/linuxbrew/.linuxbrew/opt | |
/home/linuxbrew/.linuxbrew/sbin | |
/home/linuxbrew/.linuxbrew/share | |
/home/linuxbrew/.linuxbrew/var | |
key: ${{ runner.os }}-go-generate-homebrew-cellar-${{ hashFiles('go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go-generate-homebrew-cellar- | |
- name: Install Brew dependencies | |
run: | | |
brew bundle | |
- name: Generate generated files | |
run: | | |
go generate ./... ||: |