Update go.mod #5205
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
name: test-infra-definition | |
on: [push] | |
permissions: {} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Let's try to get more free space and avoid `System.IO.IOException: No space left on device` error | |
- name: Free Disk Space (Ubuntu) | |
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be | |
with: | |
# this might remove tools that are actually needed, | |
# if set to "true" but frees about 6 GB | |
tool-cache: false | |
# all of these default to true, but feel free to set to | |
# "false" if necessary for your workflow | |
android: true | |
dotnet: true | |
haskell: true | |
large-packages: true | |
docker-images: true | |
swap-storage: true | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Build | |
run: go build ./... | |
- name: Install orchestrion | |
run: | | |
go install github.com/DataDog/[email protected] | |
orchestrion pin | |
- name: Test | |
run: orchestrion go test -v $(go list ./... | grep -v /integration-tests) # We do not run integration-tests here because they require more tooling (Pulumi, invoke, ..). They will be run in a dedicated job | |
env: | |
DD_CIVISIBILITY_ENABLED: true | |
DD_CIVISIBILITY_AGENTLESS_ENABLED: true | |
DD_ENV: ci | |
DD_API_KEY: ${{ secrets.DATADOG_API_KEY }} |