Skip to content

Merge pull request #18 from duosecurity/dependabot/go_modules/github.… #62

Merge pull request #18 from duosecurity/dependabot/go_modules/github.…

Merge pull request #18 from duosecurity/dependabot/go_modules/github.… #62

Workflow file for this run

name: Go CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Golang - test
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.19", "1.20"]
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: go mod tidy
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...