Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
System-Glitch committed Feb 20, 2024
1 parent a4fac6b commit d7ee2a9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.19", "1.21"]
go: ["1.21", "1.22"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Run tests
Expand All @@ -26,7 +26,7 @@ jobs:
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
go test -v -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./... ./...
go tool cover -html=coverage.txt -o coverage.html
- if: ${{ matrix.go == '1.21' }}
- if: ${{ matrix.go == '1.22' }}
name: 'Upload Coverage artifact'
uses: actions/upload-artifact@v3
with:
Expand All @@ -38,13 +38,13 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
cache: false
- name: Run lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
with:
version: v1.54
version: v1.56
args: --timeout 5m
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ In the `main` function, start the tracer after loading the config:
import goyavetrace "github.com/onfocusio/dd-trace-goyave"

func main() {
cfg := Config{
cfg := goyavetrace.Config{
AgentAddr: config.GetString("app.datadog.agentAddr"),
Env: config.GetString("app.environment"),
Service: config.GetString("app.datadog.service"),
Expand All @@ -54,7 +54,7 @@ func Register(router *goyave.Router) {
s.SetTag(ext.ManualKeep, true)
}

cfg := Config{
cfg := goyavetrace.Config{
AgentAddr: config.GetString("app.datadog.agentAddr"),
Env: config.GetString("app.environment"),
Service: config.GetString("app.datadog.service"),
Expand Down

0 comments on commit d7ee2a9

Please sign in to comment.