Skip to content

Configure Renovate

Configure Renovate #6

Workflow file for this run

---
name: lint
on:
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: go-${{ hashFiles('**/go.sum') }}
restore-keys: |
go-
- run: go mod download
- uses: reviewdog/action-setup@v1
with:
reviewdog_version: v0.14.1
- name: Run reviewdog
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
go run ./tools/analyze -schema './schemata/**/*.gql' 2>&1 | tee ret.txt
cat ret.txt | reviewdog -efm='%f:%l %m' -reporter=github-pr-review -fail-on-error=true