From 094e1ef558b5bdba4eb747ee108c8e6ecadf4a7d Mon Sep 17 00:00:00 2001 From: ClayBenson94 Date: Wed, 23 Aug 2023 10:48:18 -0400 Subject: [PATCH] Try setting up go in lint --- .github/workflows/pre_commit.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pre_commit.yml b/.github/workflows/pre_commit.yml index f35df83..ecaca39 100644 --- a/.github/workflows/pre_commit.yml +++ b/.github/workflows/pre_commit.yml @@ -12,6 +12,11 @@ jobs: steps: - name: Check out code uses: actions/checkout@v3 + - name: Set up go + uses: actions/setup-go@v3 + with: + go-version-file: './go.mod' + cache: true - name: Pre-commit checks uses: pre-commit/action@v3.0.0 with: