[mq] working branch - merge 7312e293d0 on top of master at 9c811a12f7 #1365
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 | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: "rake test" | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: "/home/runner/work/agent-payload/agent-payload/go/src/github.com/DataDog/agent-payload" | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
path: go/src/github.com/DataDog/agent-payload | |
- name: "Install ruby" | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: head | |
- name: Install go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: "/home/runner/work/agent-payload/agent-payload/go/src/github.com/DataDog/agent-payload/go.mod" | |
- run: rake test | |
env: | |
GOPATH: "/home/runner/work/agent-payload/agent-payload/go" | |
codegen: | |
name: "rake codegen" | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: "/home/runner/work/agent-payload/agent-payload/go/src/github.com/DataDog/agent-payload" | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
path: go/src/github.com/DataDog/agent-payload | |
- name: "Install ruby" | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: head | |
- name: Install go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: "/home/runner/work/agent-payload/agent-payload/go/src/github.com/DataDog/agent-payload/go.mod" | |
- run: rake codegen | |
env: | |
GOPATH: "/home/runner/work/agent-payload/agent-payload/go" | |
- name: Check for diffs | |
run: git diff --exit-code |