Skip to content

Use informer lister, context-aware shutdown, and standard logging #107

Use informer lister, context-aware shutdown, and standard logging

Use informer lister, context-aware shutdown, and standard logging #107

Workflow file for this run

name: CI
permissions:
contents: read
pull-requests: write
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Check formatting
run: |
unformatted=$(gofmt -l .)
if [ -n "$unformatted" ]; then
echo "The following files are not gofmt-formatted:"
echo "$unformatted"
exit 1
fi
- name: Go vet
run: make vet
- name: Go test
run: make test
- name: Go build
run: make build