Skip to content

fix regex for checking github fine-grained tokens #259

fix regex for checking github fine-grained tokens

fix regex for checking github fine-grained tokens #259

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions: {}
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: 'stable'
check-latest: 'true'
cache: 'true'
- name: Install dependencies (Linux)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt-get update && sudo apt-get install -y gcc libgl1-mesa-dev xorg-dev
- name: Build
run: make build
- name: Test
run: go test -v -race ./...