Update number format parser, fix parser dropped empty literals in the end of the number format #1359
Workflow file for this run
This file contains hidden or 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
on: [push, pull_request] | |
name: build | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.23.x, 1.24.x] | |
os: [ubuntu-24.04, macos-13, windows-latest] | |
targetplatform: [x86, x64] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
cache: false | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Get dependencies | |
run: | | |
env GO111MODULE=on go vet ./... | |
- name: Build | |
run: go build -v . | |
- name: Build on ARM | |
if: runner.os == 'Linux' | |
run: | | |
GOARCH=arm GOARM=5 go build . | |
GOARCH=arm GOARM=6 go build . | |
GOARCH=arm GOARM=7 go build . | |
GOARCH=arm64 go build . | |
GOARCH=arm64 GOOS=android go build . | |
- name: Test | |
run: env GO111MODULE=on go test -v -timeout 50m -race ./... -coverprofile='coverage.txt' -covermode=atomic | |
- name: Codecov | |
uses: codecov/codecov-action@v5 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
with: | |
files: coverage.txt | |
flags: unittests | |
name: codecov-umbrella |