Merge pull request #5 from yannickbattail/float_start_with_dot_bug #17
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: Test Build | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21.x' | |
- name: Install ANTLR | |
run: pip install antlr4-tools | |
- name: Generate | |
run: go generate ./... | |
- name: Test | |
run: go test -v ./... | |
- name: Build | |
run: go build -o scadformat cmd/main.go |