Skip to content

fix: remove unnecessary token #36

fix: remove unnecessary token

fix: remove unnecessary token #36

Workflow file for this run

name: Run Checks
on:
push:
branches: [main]
pull_request:
branches: [main]
# In the same branch only 1 workflow per time can run. In case we're not in the
# main branch we cancel previous running workflow
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
# Used by the buf to create a comment with a brief summary of failing tets
pull-requests: write
jobs:
run-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: build
run: go tool task build # needed to download the embedded resources
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: dprint/check@v2.2
with:
dprint-version: 0.48.0
- uses: golangci/golangci-lint-action@v8
with:
version: v2.4.0
args: --timeout 300s
- name: Check go mod
run: |
go mod tidy
git diff --color --exit-code