From b6b3db32bcd5f87d56bc0fba1db708499259653a Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Wed, 5 Jan 2022 17:47:33 -0700 Subject: [PATCH] ci: Update Go versions (Go 1.16 required) We now use the io/fs package. --- .github/workflows/ci.yml | 2 +- filestorage.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f77a4ee..5af2e646 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] - go: [ '1.14', '1.15' ] + go: [ '1.16', '1.17' ] runs-on: ${{ matrix.os }} diff --git a/filestorage.go b/filestorage.go index c7611b93..da588e4e 100644 --- a/filestorage.go +++ b/filestorage.go @@ -64,6 +64,8 @@ import ( // that is probably less severe a consequence than infinite loops. // // See https://github.com/caddyserver/caddy/issues/4448 for discussion. +// See commit 468bfd25e452196b140148928cdd1f1a2285ae4b for where we +// switched away from using .unlock files. type FileStorage struct { Path string }