Skip to content

Commit

Permalink
Add basic GitHub actions build (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
suyashkumar authored Feb 19, 2023
1 parent 4dea14e commit d9258e6
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: build
on: [push, pull_request]
jobs:

build:
name: Build and Test
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.20
uses: actions/setup-go@v3
with:
go-version: 1.20.1
id: go

- name: Check out code
uses: actions/checkout@v2

- name: Get dependencies
run: |
go mod download
- name: Build
run: |
go build ./...

0 comments on commit d9258e6

Please sign in to comment.