Skip to content

Commit

Permalink
Add Actions (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
invliD authored Feb 18, 2024
1 parent 478f578 commit ddbd552
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Build
run: go build
- name: Format
run: test -z $(gofmt -l .) || (gofmt -d . && exit 1)

0 comments on commit ddbd552

Please sign in to comment.