1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-07-15 01:44:22 +02:00

chore(build): retrieve go version from go.mod as single point of truth

This commit is contained in:
Jan Larwig
2025-01-17 17:56:28 +01:00
parent 4c823a66c7
commit 58527ec6c9
6 changed files with 25 additions and 21 deletions

View File

@ -19,8 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
# renovate: datasource=golang-version depName=golang
go-version: 1.23.4
go-version-file: go.mod
id: go
- name: Get dependencies

View File

@ -33,15 +33,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL