Skip to content

Add CI bot to automatically run go generate and create PRs #24

Add CI bot to automatically run go generate and create PRs

Add CI bot to automatically run go generate and create PRs #24

Workflow file for this run

name: Main
on: [push, pull_request]
jobs:
tests:
name: ${{matrix.go-version}} ${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.17, 1.12]
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- name: Install dependencies (linux)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt-get update && sudo apt-get install libgl1-mesa-dev
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{matrix.go-version}}
- name: Check out module
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Run tests
run: go test -v -race ./...