Skip to content

dep: move to latest stable fun #161

dep: move to latest stable fun

dep: move to latest stable fun #161

Workflow file for this run

name: test
on: [push]
jobs:
unittests:
runs-on: ubuntu-latest
timeout-minutes: 4
strategy:
fail-fast: false
steps:
- uses: actions/setup-go@v3
with:
go-version: "1.20"
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6
with:
PATTERNS: |
**/**.go
"!test/"
go.mod
go.sum
- name: grip tests
run: go test -race ./...
lint:
name: golangci-lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.20'
- uses: technote-space/get-diff-action@v6
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: golangci/golangci-lint-action@v3
with:
# Required: the version of golangci-lint is required and
# must be specified with patch version: we always use the
# latest patch version.
version: v1.51.2
args: --timeout 5m
github-token: ${{ secrets.github_token }}
if: env.GIT_DIFF