Handle some special characters as a part of TokenKeyword (#8) #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tokenizer | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
golangci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.17' | |
- uses: actions/checkout@v3 | |
- name: lint | |
uses: golangci/[email protected] | |
with: | |
version: latest | |
test: | |
runs-on: ubuntu-latest | |
name: Testing code | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: 1.17.x | |
- name: Run tests | |
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... | |
- name: Upload coverage to Codecov | |
run: bash <(curl -s https://codecov.io/bash) | |
- name: Run benchmarks | |
run: go test -bench=. |