Skip to content

[2024] Solution for Day 6 #9

[2024] Solution for Day 6

[2024] Solution for Day 6 #9

Workflow file for this run

name: Advent of Code 2024
on:
push:
branches:
- main
paths:
- .github/workflows/2024.yml
- 2024/**
pull_request:
paths:
- .github/workflows/2024.yml
- 2024/**
jobs:
build-2024:
runs-on: ubuntu-latest
defaults:
run:
working-directory: "2024"
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.PAT }}
submodules: true
- uses: actions/setup-go@v2
with:
go-version: ^1.19
- name: Get dependencies
run: go get -v -t -d ./...
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...