From b72e1f9a1d91601e8e93c0b8f483a502cbf8e3e2 Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Sat, 26 Dec 2020 22:43:43 +0900 Subject: [PATCH] ci: go mod download and verify (#6) --- .github/workflows/ci.yml | 2 ++ .github/workflows/release.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dca91d7..828528e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,8 @@ jobs: restore-keys: | ${{ runner.os }}-go- + - run: go mod download + - run: go mod verify - run: mage fmt - run: mage vet # - run: mage lint diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 73ec699..5eda5f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,6 +31,8 @@ jobs: restore-keys: | ${{ runner.os }}-go- + - run: go mod download + - run: go mod verify - run: mage fmt - run: mage vet # - run: mage lint