Skip to content

sync: check token scopes up front, skip projects when read:project is… #3

sync: check token scopes up front, skip projects when read:project is…

sync: check token scopes up front, skip projects when read:project is… #3

Workflow file for this run

name: CI
on:
push:
branches: [main, v2]
pull_request:
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.25'
check-latest: true
- name: Vet
run: go vet ./...
- name: Test
run: go test ./...
- name: Build (cgo-free, static single binary)
env:
CGO_ENABLED: 0
run: go build -o github-export .
- name: gofmt
run: |
unformatted=$(gofmt -l .)
if [ -n "$unformatted" ]; then
echo "These files need gofmt:"; echo "$unformatted"; exit 1
fi