Update module go.opentelemetry.io/contrib/instrumentation/net/http/ot… #81
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
name: Go | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
name: Build, test and lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/[email protected] | |
with: | |
go-version: 1.22.4 | |
cache-dependency-path: ./go.sum | |
- name: Build | |
run: go build . | |
- name: Test | |
run: go test ./... | |
- name: Install tools | |
run: make install-ci | |
- name: Lint | |
run: make lint | |
- name: Check Format | |
run: make fmt && git diff --exit-code . |