Skip to content

add build and test action #4

add build and test action

add build and test action #4

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 ./aoc/...
- name: Test with the Go CLI
run: go test