Skip to content

chore(deps): bump golangci/golangci-lint-action from 3 to 4 #30

chore(deps): bump golangci/golangci-lint-action from 3 to 4

chore(deps): bump golangci/golangci-lint-action from 3 to 4 #30

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
env:
GO111MODULE: on
jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- uses: actions/[email protected]
- uses: golangci/golangci-lint-action@v4
with:
version: latest
args: --verbose
test-unix:
strategy:
fail-fast: false
matrix:
platform:
- ubuntu
go:
- 21
name: '${{ matrix.platform }} | 1.${{ matrix.go }}.x'
runs-on: ${{ matrix.platform }}-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.${{ matrix.go }}.x
- uses: actions/[email protected]
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-1.${{ matrix.go }}.x-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-1.${{ matrix.go }}.x-
- run: PATH=$HOME/go/bin/:$PATH make test build