Skip to content

cli: require apply ID for progress polling, simplify watch paths #331

cli: require apply ID for progress polling, simplify watch paths

cli: require apply ID for progress polling, simplify watch paths #331

Workflow file for this run

name: golangci-lint
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
strategy:
matrix:
include:
- name: default
args: ""
- name: integration
args: --build-tags=integration
- name: e2e
args: --build-tags=e2e ./e2e/...
steps:
- name: Checkout code
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # actions/checkout@v6
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # actions/setup-go@v6.1
with:
go-version-file: go.mod
cache: false
- name: "Restore Go cache"
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # actions/cache/restore@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: go-${{ runner.os }}-${{ hashFiles('go.sum') }}
restore-keys: go-${{ runner.os }}-
- name: golangci-lint (${{ matrix.name }})
uses: golangci/golangci-lint-action@0a35821d5c230e903fcfe077583637dea1b27b47 # ratchet:golangci/golangci-lint-action@v9.0.0
with:
version: v2.11.4
args: ${{ matrix.args }}