Skip to content

Merge pull request #12 from DataDog/zhengda.lu/obfuscation-and-normal… #23

Merge pull request #12 from DataDog/zhengda.lu/obfuscation-and-normal…

Merge pull request #12 from DataDog/zhengda.lu/obfuscation-and-normal… #23

Workflow file for this run

name: Run tests
on:
push:
branches: [main]
pull_request:
types: [opened, reopened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.20', '1.21' ]
steps:
- uses: actions/checkout@v3
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...