aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/go.yml
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-06-21 09:47:25 -0400
committerGitHub <noreply@github.com>2024-06-21 09:47:25 -0400
commit103b82ca0f909fbc09b0d62da9f65950d4f1bdb7 (patch)
tree0dffbdaba4ecc679bd2a8818e8244a95324862d3 /.github/workflows/go.yml
parent170782b091c96f16cf371a09001d3035b06e155f (diff)
downloadxesite-103b82ca0f909fbc09b0d62da9f65950d4f1bdb7.tar.xz
xesite-103b82ca0f909fbc09b0d62da9f65950d4f1bdb7.zip
Create go.yml
Diffstat (limited to '.github/workflows/go.yml')
-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 ./...