29 lines
666 B
YAML
29 lines
666 B
YAML
---
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
|
|
compile:
|
|
runs-on: docker
|
|
steps:
|
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: test
|
|
run: |
|
|
apt update; apt install --yes golang-go
|
|
go get -v
|
|
make prometheus-dnssec-exporter .changes
|
|
|
|
golangci-lint:
|
|
runs-on: docker
|
|
steps:
|
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: test
|
|
run: |
|
|
apt update; apt install --yes golang-go
|
|
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.45.2
|
|
~/go/bin/golangci-lint run
|