Skip to content

Commit

Permalink
add build and test action
Browse files Browse the repository at this point in the history
  • Loading branch information
StreakInTheSky committed Nov 30, 2023
1 parent 906343f commit f185722
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Build and Test
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.19.x'
- name: Build
run: go build -v ./aoc/...
- name: Test with the Go CLI
run: go test

0 comments on commit f185722

Please sign in to comment.