Skip to content

fix: handle reviewer drift as skipped #591

fix: handle reviewer drift as skipped

fix: handle reviewer drift as skipped #591

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
concurrency:
group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
verify:
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: Check out repository
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
printf 'These files need gofmt:\n%s\n' "$unformatted"
exit 1
fi
- name: Lint
run: go vet ./...
- name: Test
run: go test ./...
- name: Build
env:
LOOPER_BUILD_GIT_SHA: ${{ github.sha }}
run: |
export LOOPER_BUILD_TIMESTAMP="$(date -u +%Y-%m-%dT%H:%M:%SZ)"
go build -ldflags "$(go run ./tools/go-build-flags)" ./...