Skip to content

Remove 20% of wasted memory allocations by not calling celast.NavigateAST #9

Remove 20% of wasted memory allocations by not calling celast.NavigateAST

Remove 20% of wasted memory allocations by not calling celast.NavigateAST #9

Workflow file for this run

name: Go
on:
push:
branches: [main]
pull_request:
jobs:
golangci:
name: lint
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.21'
- name: Lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.55.1
./bin/golangci-lint run --verbose
test-linux-race:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.21'
- name: Test
run: go test ./... -v -count=1