Skip to content

bump golangci-lint-action #222

bump golangci-lint-action

bump golangci-lint-action #222

Workflow file for this run

name: Test
on:
push:
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21.3'
check-latest: true
- name: Creat kind
run: make ci:enable:k8s
- name: Apply Cert Manager
run: make apply-cert-manager
- name: Apply Ingress-Nginx
run: make apply-ingress-nginx
- name: Run tests
run: make test
golangci:
name: lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21.3'
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59.0
args: -v --timeout=10m