Bump golangci/golangci-lint-action from 3.7.0 to 6.0.1 #1315
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: ci | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- release/** | |
env: | |
CONSUL_LICENSE: ${{ secrets.CONSUL_LICENSE }} | |
jobs: | |
run-tests: | |
name: Run test cases (with consul${{ matrix.consul-ent-tag }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
go: [^1] | |
consul-ent-tag: ["", "-enterprise"] | |
steps: | |
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 | |
- name: Set up Go | |
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Install Consul${{ matrix.consul-ent-tag }}, Vault and Nomad for integration testing | |
run: | | |
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add - | |
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | |
sudo apt-get update && sudo apt-get install consul${{ matrix.consul-ent-tag }} vault nomad | |
- name: Run tests | |
run: | | |
make test-race |