Skip to content

fix(deps): update module github.com/nats-io/nats.go to v1.48.0 #290

fix(deps): update module github.com/nats-io/nats.go to v1.48.0

fix(deps): update module github.com/nats-io/nats.go to v1.48.0 #290

Workflow file for this run

name: pull_request
on:
pull_request:
branches: [ main ]
paths-ignore:
- '**/readme.md'
- '**/renovate.json'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
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)