Compare commits
2 Commits
134cb7aad1
...
492d2a602a
| Author | SHA1 | Date | |
|---|---|---|---|
| 492d2a602a | |||
| fc9a332e63 |
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -14,6 +14,8 @@ jobs:
|
||||
run: go build -v ./day01/*.go
|
||||
- name: Build day two
|
||||
run: go build -v ./day02/*.go
|
||||
- name: Run day one
|
||||
run: go run -v ./day01/*.go
|
||||
- name: Display Go version
|
||||
run: go version
|
||||
- name: List files in the repository
|
||||
|
||||
@ -109,7 +109,7 @@ func CombineIndexes(s string) int {
|
||||
}
|
||||
|
||||
func main() {
|
||||
file, err := os.Open("input")
|
||||
file, err := os.Open("../inputs/day01_input")
|
||||
check(err)
|
||||
defer file.Close()
|
||||
|
||||
|
||||
@ -140,7 +140,7 @@ func PrintAndWait[T any](x T) {
|
||||
}
|
||||
|
||||
func main() {
|
||||
file, err := os.Open("input")
|
||||
file, err := os.Open("../inputs/day02_input")
|
||||
check(err)
|
||||
defer file.Close()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user