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 7f96522
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build and Test
on: [push]
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.19.x'
- name: cd into aoc
run: cd ./aoc
- name: Build
run: go build -v ./...
- name: Test with the Go CLI
run: go test

0 comments on commit 7f96522

Please sign in to comment.