Add a way to explore stack resources (#176) #463
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] } | |
jobs: | |
lint: | |
name: Lint the code | |
runs-on: ubuntu-latest | |
container: golang:1.19 | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Check formatting using gofmt | |
run: gofmt -s -l -d . | |
- name: Check for suspicious constructs using "go vet" | |
run: go vet ./... | |
- name: Lint the code using "golint" | |
run: go install golang.org/x/lint/golint@latest && golint -set_exit_status ./... | |
- name: Run staticcheck | |
run: go install honnef.co/go/tools/cmd/staticcheck@latest && staticcheck ./... |