diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 03beab01..9e814a50 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,6 +25,11 @@ jobs: with: python-version: '3.x' + - name: Set up Go + uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 + with: + go-version-file: go.mod + - name: Install pre-commit run: | python -m pip install --upgrade pip @@ -33,11 +38,6 @@ jobs: - name: Run pre-commit hooks run: pre-commit run --all-files - - name: Set up Go - uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 - with: - go-version-file: go.mod - - name: Install dependencies run: go mod tidy diff --git a/go.mod b/go.mod index 0dc961cc..260656bc 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/launchdarkly/find-code-references-in-pull-request -go 1.23.0 +go 1.24 require ( github.com/Masterminds/sprig/v3 v3.3.0