Skip to content

Merge pull request #72 from blinklabs-io/dependabot/go_modules/github… #116

Merge pull request #72 from blinklabs-io/dependabot/go_modules/github…

Merge pull request #72 from blinklabs-io/dependabot/go_modules/github… #116

Workflow file for this run

# This file was copied from the following URL and modified:
# https://github.com/golangci/golangci-lint-action/blob/master/README.md#how-to-use
name: golangci
on:
push:
branches: ['main']
pull_request:
permissions:
contents: read
pull-requests: read
jobs:
golangci:
name: lint
strategy:
matrix:
go-version: [1.19.x, 1.20.x]
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.53.3 # current version at time of commit
args: --timeout 10m
only-new-issues: true
- name: go-test
run: go test ./...