Skip to content

add build and test action #7

add build and test action

add build and test action #7

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