prometheus-dnssec-exporter/.forgejo/workflows/test.yml
s3lph 54c3cb51a4
All checks were successful
/ build_debian (push) Successful in 2m0s
/ compile (push) Successful in 1m11s
/ golangci-lint (push) Successful in 2m3s
feat: migrate from woodpecker to forgejo actions
2023-12-19 06:24:38 +01:00

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