25 lines
467 B
YAML
25 lines
467 B
YAML
name: Go
|
|
on: [push, pull_request]
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
runs-on: alt-sisyphus
|
|
steps:
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version-file: go.mod
|
|
|
|
- name: Lint
|
|
uses: golangci/golangci-lint-action@v4.0.0
|
|
with:
|
|
version: v1.54
|
|
args : --verbose
|
|
|
|
- name: Test
|
|
run: |
|
|
make test
|