Skip to content

build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 #296

build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1

build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 #296

Workflow file for this run

name: tests
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
jobs:
unit:
strategy:
fail-fast: false
matrix:
go-version: [ 1.21.x, 1.22.x, 1.23.x ]
os: [ ubuntu, windows, macOS ]
concurrency:
group: unit-${{ github.ref }}-${{ matrix.os }}-${{ matrix.go-version }}
cancel-in-progress: true
env:
OS: ${{ matrix.os }}-latest
GO: ${{ matrix.go-version }}
runs-on: ${{ matrix.os }}-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: true
- name: Test
run: go test -race -coverprofile unit.txt -covermode atomic ./internal/...
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v4
with:
file: ./unit.txt
flags: unit,${{ matrix.os }},go-${{ matrix.go-version }}
name: unit
integration:
strategy:
fail-fast: false
matrix:
go-version: [ 1.21.x, 1.22.x, 1.23.x ]
ydb-version: [23.3, 24.1, 24.2]
concurrency:
group: integration-${{ github.ref }}-${{ matrix.go-version }}-${{ matrix.ydb-version }}
cancel-in-progress: true
runs-on: ubuntu-latest
services:
ydb:
image: ydbplatform/local-ydb:${{ matrix.ydb-version }}
ports:
- 2135:2135
- 2136:2136
- 8765:8765
volumes:
- /tmp/ydb_certs:/ydb_certs
env:
YDB_LOCAL_SURVIVE_RESTART: true
YDB_USE_IN_MEMORY_PDISKS: true
YDB_TABLE_ENABLE_PREPARED_DDL: true
options: '-h localhost'
env:
OS: ubuntu-latest
GO: ${{ matrix.go-version }}
YDB_CONNECTION_STRING: grpc://localhost:2136/local
YDB_ANONYMOUS_CREDENTIALS: 1
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: true
- name: Integration test
run: go test -race -coverpkg=./internal/... -coverprofile integration.txt -covermode atomic ./tests/integration/...
- name: Upload Test secure connection coverage report to Codecov
uses: codecov/codecov-action@v4
with:
file: ./integration.txt
flags: integration,go-${{ matrix.go-version }},ydb-${{ matrix.ydb-version }}
name: integration