20 lines
377 B
YAML
20 lines
377 B
YAML
name: Go
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version: '>=1.20.1'
|
|
- name: Install dependencies
|
|
run: go get .
|
|
- name: Build
|
|
run: go build -v ./...
|
|
- name: Test with the Go CLI
|
|
run: go test
|