chore: add missing header #6
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: building | |
on: | |
push: | |
branches: ['develop'] | |
pull_request: | |
branches: ['develop'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.19 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
- name: Check out the source code | |
uses: actions/checkout@v3 | |
- name: Restore the Go modules cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/go/pkg/mod | |
key: go-${{ runner.os }}-${{ hashFiles('go.mod') }} | |
restore-keys: | | |
go-${{ runner.os }}- | |
- name: Install Ragel 6.10 | |
run: sudo apt-get install -y ragel | |
- name: Build the parser | |
run: make | |
- name: Ensure the parser code is updated | |
run: git diff --exit-code |