Skip to content

perf(syn): use switch for hot bits4 usedBits checks #638

perf(syn): use switch for hot bits4 usedBits checks

perf(syn): use switch for hot bits4 usedBits checks #638

Workflow file for this run

name: go-test
on:
push:
tags:
- v*
branches:
- main
pull_request:
permissions:
contents: read
jobs:
go-test:
name: go-test
strategy:
matrix:
go-version: [1.25.x, 1.26.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
submodules: true
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: ${{ matrix.go-version }}
- name: go-test
run: make test
- name: Generate coverage report
run: go test -race -coverprofile=coverage.out -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
with:
files: ./coverage.out