Skip to content

2024 day 17

2024 day 17 #36

Workflow file for this run

name: Quality Checks
on:
push:
branches:
- main
jobs:
build-current:
name: Build and Run
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- name: Build all Go files
run: |
find ./2023 -name "*.go" -exec go build -o /dev/null {} \;
find ./2024 -name "*.go" -exec go build -o /dev/null {} \;
- name: Run all Go files
run: |
find ./2023 -name "*.go" -exec go run {} \;
find ./2024 -name "*.go" -exec go run {} \;