Skip to content

ci(action): update golangci/golangci-lint-action action to v9 #274

ci(action): update golangci/golangci-lint-action action to v9

ci(action): update golangci/golangci-lint-action action to v9 #274

Workflow file for this run

name: Go
on:
push:
branches: [master, v8, v9]
pull_request:
branches: [master, v8, v9]
permissions:
contents: read
jobs:
build:
name: build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version: [1.18.x, 1.19.x]
steps:
- name: Set up ${{ matrix.go-version }}
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Test
run: |
go vet ./...
go test ./...
go test ./... -short -race
go test ./... -run=NONE -bench=. -benchmem