hugo-to-gemini/.github/workflows/tests.yml

22 lines
441 B
YAML

name: Run tests
on:
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Run tests
run: go test -v ./...
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.45.0