fix(deps): update module github.com/nats-io/nats.go to v1.48.0 (#222) #271
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: | |
| branches: [ main ] | |
| paths-ignore: | |
| - '**/readme.md' | |
| - '**/renovate.json' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| FORCE_COLOR: 1 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: false | |
| fetch-depth: 0 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.25.4" | |
| check-latest: false | |
| cache-dependency-path: "**/*.sum" | |
| - run: go version | |
| - uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.cache/go-build | |
| ~/go/pkg/mod | |
| key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
| restore-keys: | | |
| ${{ runner.os }}-go- | |
| - name: Vendoring and Tidy | |
| run: go mod tidy && go mod vendor | |
| - name: Install dependencies | |
| run: | | |
| go mod download | |
| - name: Run Linter | |
| uses: golangci/golangci-lint-action@v9 | |
| with: | |
| version: v2.4.0 | |
| args: --timeout 10m --config .golangci.yml | |
| - name: Install go-acc | |
| run: | | |
| go install github.com/ory/go-acc@latest | |
| - name: Run tests | |
| shell: bash | |
| run: | | |
| go-acc ./... -o coverage.out --ignore egopb,test,example,mocks -- -mod=vendor -p 1 -timeout 0 -race -v | |
| - uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: ./coverage.out # optional | |
| fail_ci_if_error: false # optional (default = false) | |
| verbose: false # optional (default = false) |