-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (37 loc) · 822 Bytes
/
build.yml
File metadata and controls
42 lines (37 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: prequel-compiler build/test
on:
workflow_dispatch:
repository_dispatch:
types: [trigger-workflow]
push:
branches:
- main
- develop
pull_request:
branches:
- main
jobs:
build:
name: Build Go Project
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.24.2]
os: [ubuntu-24.04]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Verify Go Version
run: go version
- name: Run prequel-compiler tests
run: |
pushd pkg/parser
go test
popd
pushd pkg/ast
go test
popd