Files
paralus/.github/workflows/go.yml
Akshay Gaikwad 9402268a25 Add GitHub Actions workflows
- Go workflow: Go related check like running go test.
- Release workflow: Build docker image and push it to registry.
2022-03-21 12:25:08 +05:30

25 lines
394 B
YAML

name: Go
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
go-version: [1.17.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- run: go version
- name: Test all
run: go test -v ./...