2024 day 5 #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Quality Checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
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 {} \; |