Bump gopkg.in/DataDog/dd-trace-go.v1 from 1.64.1 to 1.66.0 #284
Workflow file for this run
This file contains 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
on: | |
push: | |
branches: | |
- "**" | |
- "!main" | |
name: CI | |
jobs: | |
quality: | |
name: Quality | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.4 | |
- name: Go cache | |
id: cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cache/go-build | |
~/go/pkg/mod | |
~/go/bin | |
~/Library/Caches/go-build | |
key: ${{ matrix.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ matrix.os }}-go- | |
- name: Install dependencies | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: | | |
go install github.com/mfridman/tparse@v0.13.3 | |
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59.0 | |
- name: Dependency linter | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
go mod tidy -compat=1.19 | |
git add . | |
git diff --cached --exit-code | |
- name: Build | |
run: go build . | |
- name: Test | |
run: | | |
go test -race -cover -covermode=atomic -json | tparse -all -smallscreen | |
go test -race -bench . | |
- name: Go golangci-lint | |
if: matrix.os == 'ubuntu-latest' | |
run: golangci-lint run -c misc/golangci/config.yml ./... |