Reduce the number of retries and shorten the sleep interval to impact… #69
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: go | |
on: | |
push: | |
pull_request: | |
jobs: | |
lint: | |
strategy: | |
matrix: | |
os: [windows-2019, ubuntu-latest] | |
name: lint | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
- name: Provide `StemcellAutomation.zip` for `go:embed` consumption in `assets` package | |
run: | | |
make generate-fake-stemcell-automation | |
- uses: golangci/golangci-lint-action@v3 | |
if: ${{ matrix.os == 'windows-2019' }} | |
- uses: golangci/golangci-lint-action@v3 | |
if: ${{ matrix.os != 'windows-2019' }} | |
with: | |
args: --enable goimports |