Skip to content

ci: regenerate code for version 0.44.2 triggered by @thogarty #90

ci: regenerate code for version 0.44.2 triggered by @thogarty

ci: regenerate code for version 0.44.2 triggered by @thogarty #90

Workflow file for this run

name: Generate and lint code
on:
push:
pull_request:
jobs:
test:
strategy:
matrix:
go-version: [1.19.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Verify Patches
run: make patch-all
- name: Generate
run: |
make generate-all
# Expect all changes to be accounted for
! git status --porcelain | grep .
- name: Determine golangci-lint version
id: golangcilint
run: |
line=$(grep GOLANGCI_LINT_VERSION= Makefile)
version=$(echo ${line} | cut -d = -f2)
echo "version=$version" >> "$GITHUB_OUTPUT"
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: ${{ steps.golangcilint.outputs.version }}
skip-cache: true