Skip to content

Add an HTTPSubscriber that allows subscribing to an append-only denylist #107

Add an HTTPSubscriber that allows subscribing to an append-only denylist

Add an HTTPSubscriber that allows subscribing to an append-only denylist #107

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master, dependency-upgrades ]
env:
GO_VERSION: "1.21.1"
jobs:
tests:
name: "Compact denylist format test suite"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Tests
run: go test -v -timeout 15m -coverprofile=coverage.txt -covermode=atomic .
- name: Coverage
uses: codecov/codecov-action@v3
with:
directory: nopfs
check:
name: "Static, syntax and spelling checks"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Install misspell
run: go install github.com/client9/misspell/cmd/misspell@latest
- name: Check
run: make check