Skip to content

initial go at github actions #1

initial go at github actions

initial go at github actions #1

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 50
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 'stable'
- name: Run lint
run: make lint
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 50
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 'stable'
- name: Run tests
run: |
go test -v -mod=vendor ./...
./integrationtest.sh