Skip to content

fix: handle aws integration attach/detach on stack update (#47) #208

fix: handle aws integration attach/detach on stack update (#47)

fix: handle aws integration attach/detach on stack update (#47) #208

Workflow file for this run

name: 🤓 Lint
on:
push:
branches: [ "main" ]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
generate:
name: Generated files up to date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with: { go-version-file: 'go.mod'}
- name: Make sure generated files are up to date
run: |
make generate
git diff --no-patch --exit-code
if [ $? -ne 0 ]; then
echo "Please run make generate and commit the changes."
exit 1
fi
lint-manifest:
name: Manifests up to date
runs-on: ubuntu-latest-4-cores
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with: { go-version-file: 'go.mod'}
- name: Make sure manifest are up to date
run: |
make manifests
git diff --no-patch --exit-code
if [ $? -ne 0 ]; then
echo "Please run make manifests and commit the changes."
exit 1
fi
lint-go:
name: Go code
runs-on: ubuntu-latest-4-cores
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with: { go-version-file: 'go.mod'}
- name: Make sure go.mod and go.sum are up to date
run: |
go mod tidy
git diff --no-patch --exit-code go.mod go.sum
if [ $? -ne 0 ]; then
echo "Please run go mod tidy and commit the changes."
exit 1
fi
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.58.2
args: --verbose