drand v2.0.0 #1986
Workflow file for this run
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
name: Lint | |
on: | |
pull_request: | |
branches: [ master ] | |
concurrency: | |
group: ci-${{ github.ref }}-lint | |
cancel-in-progress: true | |
jobs: | |
golangci: | |
strategy: | |
matrix: | |
db_type: [ "boltdb", "memdb", "postgres" ] | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
version: v1.58 | |
args: --build-tags ${{ matrix.db_type }} --timeout 5m | |
- name: golangci-lint tests non-tls | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
version: v1.58 | |
args: --build-tags conn_insecure --timeout 5m |