diff --git a/.github/workflows/run-obs.yml b/.github/workflows/run-obs.yml index e6fe998b..e471fef6 100644 --- a/.github/workflows/run-obs.yml +++ b/.github/workflows/run-obs.yml @@ -335,7 +335,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: "1.24" + go-version-file: ./core/go.mod - name: Install OSC run: | diff --git a/.github/workflows/run-ppa.yml b/.github/workflows/run-ppa.yml index 87fbeb05..00d5880f 100644 --- a/.github/workflows/run-ppa.yml +++ b/.github/workflows/run-ppa.yml @@ -158,7 +158,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.24" + go-version-file: ./core/go.mod cache: false - name: Install build dependencies diff --git a/core/.pre-commit-config.yaml b/core/.pre-commit-config.yaml index 126e5f59..f1f274ec 100644 --- a/core/.pre-commit-config.yaml +++ b/core/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/golangci/golangci-lint - rev: v2.6.2 + rev: v2.9.0 hooks: - id: golangci-lint-fmt require_serial: true