Bump github.com/nats-io/nats.go from 1.53.1 to 1.54.0 (#647) #3295
This file contains hidden or 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: build | |
| on: [ push, pull_request ] | |
| jobs: | |
| golangci: | |
| name: lint | |
| runs-on: ${{ matrix.os }} | |
| if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'wavesplatform/nodemon' | |
| strategy: | |
| matrix: | |
| os: [ macos-latest, windows-latest, ubuntu-latest ] | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go 1.27 | |
| uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 | |
| with: | |
| go-version: 1.27.x | |
| check-latest: true | |
| cache: false # don't save & restore build caches because golangci-lint action does it internally | |
| - name: Get dependencies | |
| run: go mod vendor | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v8 | |
| with: | |
| version: latest | |
| args: -c .golangci.yml | |
| # Check for modern Go code patterns | |
| - name: modernize check | |
| run: go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest ./... | |
| build: | |
| name: ubuntu | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'wavesplatform/nodemon' | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v5 | |
| - name: Set up Go 1.27 | |
| uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 | |
| with: | |
| go-version: 1.27.x | |
| check-latest: true | |
| cache: true | |
| - name: Set up GolangCI-Lint | |
| uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v8 | |
| with: | |
| version: latest | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Get dependencies | |
| run: make vendor | |
| - name: Build | |
| run: export PATH="$HOME/bin:$PATH"; make all | |
| - name: Test with race detector | |
| run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... |