name: CI on: push: branches: [main] pull_request: jobs: go: name: Go build + test + vet runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: { go-version: "1.25" } - run: go mod tidy && git diff --exit-code go.mod go.sum - run: go build ./... - run: go vet ./... - run: go test -race ./... shell: name: Shellcheck + wrapper tests runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Install shellcheck run: sudo apt-get update -qq && sudo apt-get install -y -qq shellcheck - name: Shellcheck run: shellcheck internal/ghidentity/wrapper.sh scripts/test-wrapper.sh - name: Run wrapper tests run: bash scripts/test-wrapper.sh