aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/go.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
new file mode 100644
index 0000000..d3af5e3
--- /dev/null
+++ b/.github/workflows/go.yml
@@ -0,0 +1,33 @@
+name: Go
+
+on:
+ push:
+ branches: [ "main" ]
+ pull_request:
+ branches: [ "main" ]
+
+jobs:
+
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Set up Go
+ uses: actions/setup-go@v4
+ with:
+ go-version: '1.22'
+
+ - uses: dhall-lang/setup-dhall@v4
+
+ - uses: denoland/setup-deno@v1
+ with:
+ deno-version: v1.x
+
+ - uses: typst-community/setup-typst@v3
+
+ - name: Build
+ run: go build -v ./...
+
+ - name: Test
+ run: go test -v ./...