ci: add build testing

This commit is contained in:
lewisakura
2024-09-08 22:39:47 +01:00
committed by GitHub
parent 027c24cca4
commit 1edd279d03
+29
View File
@@ -0,0 +1,29 @@
name: Test
on:
push:
pull_request:
branches:
- main
- dev
merge_group:
jobs:
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.20
- name: Install dependencies
run: go mod download
- name: Build
run: go build -v -o ./backend