Unbreak the experimental Kubernetes test in 99-labs/02-webapps #74
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 Go codes | |
on: | |
push: | |
paths: | |
- '**.go' | |
- 'go.mod' | |
- 'go.sum' | |
branches: | |
- '*' | |
tags-ignore: | |
- '*' | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Run linters | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
args: --timeout 3m --skip-files '.*_test.go' --issues-exit-code 0 |