From 006839e44172069085cf1a935d46a61efaa4e1eb Mon Sep 17 00:00:00 2001 From: Christopher De Vries Date: Sun, 15 Oct 2023 10:57:28 -0400 Subject: [PATCH] update to go1.21 and add a docstring to utils package --- .github/workflows/main.yml | 6 +++--- utils/functions.go | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 41e3575..688f415 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,10 +10,10 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v4 with: - go-version: '^1.20' + go-version: '^1.21' - name: Test utilities run: go test -cover ./utils diff --git a/utils/functions.go b/utils/functions.go index bd91885..0b1a4bf 100644 --- a/utils/functions.go +++ b/utils/functions.go @@ -1,3 +1,5 @@ +// Package utils implements various utility functions and procedures which have +// been useful for previous Advents of Code. package utils import (