Skip to content

Support GITHUB_TOKEN #168

Support GITHUB_TOKEN

Support GITHUB_TOKEN #168

Workflow file for this run

name: 'test'
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
workflow_dispatch:
concurrency:
group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
test:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11' # ratchet:actions/checkout@v4
- uses: 'actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491' # ratchet:actions/setup-go@v5
with:
go-version: '1.21'
- name: 'Run tests'
run: |-
go test -count=1 -shuffle=on -timeout=10m -race ./...