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 f341a00
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build and Test
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on: [push]
jobs:
build-linux:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.19.x'
- name: Install dependencies
- name: Build
run: go build -v ./aoc/...
- name: Test with the Go CLI
run: go test

0 comments on commit f341a00

Please sign in to comment.