Skip to content

Fix broken links in docs (#8) #30

Fix broken links in docs (#8)

Fix broken links in docs (#8) #30

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
lint-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version:
- "1.22"
container:
image: golang:${{ matrix.go-version }}
steps:
- uses: actions/checkout@v3
- name: Workaround Git Security Warning
run: |
# Workaround a bug in github actions:
# https://github.com/actions/runner-images/issues/6775.
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Generate
run: |
# needed for running `tar -xJv` for installing shellcheck
apt-get update
apt-get install xz-utils
make generate
git status
git diff
test -z "$(git status --porcelain)"
# lint code
make lint
git status
git diff
test -z "$(git status --porcelain)"
- name: Test
run: make test