Create pages.yml
This commit is contained in:
parent
154cdff3c8
commit
a96a83a4bf
1 changed files with 17 additions and 0 deletions
17
.github/workflows/pages.yml
vendored
Normal file
17
.github/workflows/pages.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
name: Go on Pages
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Setup Go
|
||||||
|
uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: '1.21.x'
|
||||||
|
- name: Install dependencies
|
||||||
|
run: go get .
|
||||||
|
- name: Build
|
||||||
|
run: go build -v main.go
|
Loading…
Reference in a new issue