Skip to content

chore: optimize github_ci #308

chore: optimize github_ci

chore: optimize github_ci #308

Workflow file for this run

name: Pull Request Check
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Benchmark
run: go test -bench=. -benchmem -run=none ./...