33 lines
No EOL
542 B
YAML
33 lines
No EOL
542 B
YAML
name: CI
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: "1.21"
|
|
|
|
- name: Download dependencies
|
|
run: go mod download
|
|
|
|
- name: Build
|
|
run: go build -v ./...
|
|
|
|
- name: Test
|
|
run: make test
|
|
|
|
- name: Lint
|
|
run: |
|
|
make lint-deps
|
|
make lint
|
|
|
|
- name: Security scan
|
|
run: |
|
|
make security-check-deps
|
|
make security-check |