mirror of
https://github.com/NotAShelf/httpserve.git
synced 2024-11-22 13:20:47 +00:00
CI: build with Go
This commit is contained in:
parent
dfe1f3a78c
commit
14a55bd77d
1 changed files with 17 additions and 0 deletions
17
.github/workflows/go.yml
vendored
Normal file
17
.github/workflows/go.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
name: Go build CI
|
||||||
|
on: [push, pull_request, workflow_dispatch]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set up Go
|
||||||
|
uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: '1.21'
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: go build -v ./.
|
Loading…
Reference in a new issue