Skip to content

Add teamcity reporter #387

Add teamcity reporter

Add teamcity reporter #387

Workflow file for this run

name: pint ci
on:
pull_request:
branches:
- main
permissions:
pull-requests: write
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
show-progress: false
fetch-depth: 0
- name: Fetch main branch
run: |
git fetch origin main
git checkout main
git fetch origin $GITHUB_HEAD_REF
git checkout $GITHUB_HEAD_REF --
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Compile pint
run: make build
- name: Run pint ci
run: ./pint -c .github/pint/pint.hcl ci
env:
GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}