ensure no retry for create/apply/delete #7
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: lint | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
permissions: | |
contents: read | |
pull-requests: read # needed for only-new-issues option below | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: harden runner | |
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 | |
with: | |
egress-policy: block | |
disable-sudo: true | |
allowed-endpoints: > | |
github.com:443 | |
api.github.com:443 | |
proxy.github.com:443 | |
proxy.golang.org:443 | |
raw.githubusercontent.com:443 | |
objects.githubusercontent.com:443 | |
proxy.golang.org:443 | |
- name: checkout code | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: setup go | |
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 | |
with: | |
go-version: 1.21 | |
- name: lint | |
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1 | |
with: | |
version: v1.59.1 | |
args: --timeout=5m0s --verbose | |
only-new-issues: true |