Merge pull request #37 from blinklabs-io/feat/querylog #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
golangci: | |
name: lint | |
strategy: | |
matrix: | |
go-version: [1.20.x, 1.21.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 ./... |