Skip to content

fix(deps): update module gitlab.com/gitlab-org/api/client-go/v2 to v2… #1506

fix(deps): update module gitlab.com/gitlab-org/api/client-go/v2 to v2…

fix(deps): update module gitlab.com/gitlab-org/api/client-go/v2 to v2… #1506

Workflow file for this run

name: Go Test
on:
push:
branches:
- 3.x
pull_request:
branches:
- 3.x
env:
GOPROXY: "https://proxy.golang.org"
jobs:
test:
name: "go test"
strategy:
matrix:
go-version: [ 1.26.x, 1.27.x ]
platform: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v7
- name: Install Go
uses: actions/setup-go@v7
with:
go-version: ${{ matrix.go-version }}
check-latest: true
cache-dependency-path: "**/go.sum"
- run: go version
- name: Run tests
run: make test-coverage
- name: Upload coverage to Codecov
if: matrix.go-version == '1.27.x' && matrix.platform == 'ubuntu-latest'
uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.txt
disable_search: true