mirror of
https://github.com/paralus/paralus.git
synced 2026-05-22 08:13:24 +00:00
- Go workflow: Go related check like running go test. - Release workflow: Build docker image and push it to registry.
25 lines
394 B
YAML
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 ./...
|