diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 547e27d..0358da9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,8 +43,8 @@ jobs: run: | go fmt ./... go vet ./... - # Install golangci-lint - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2 + # Install golangci-lint (pinned to a version that supports the modules' Go directive) + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "$(go env GOPATH)/bin" "${GOLANGCI_LINT_VERSION}" golangci-lint run - name: Download API dependencies diff --git a/.github/workflows/container-images.yml b/.github/workflows/container-images.yml index c2a2bf6..c1d055c 100644 --- a/.github/workflows/container-images.yml +++ b/.github/workflows/container-images.yml @@ -65,7 +65,7 @@ jobs: type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} - type=sha,prefix={{branch}}- + type=sha,prefix=sha- type=raw,value=latest,enable={{is_default_branch}} - name: Set build variables @@ -234,7 +234,7 @@ jobs: type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} - type=sha,prefix={{branch}}- + type=sha,prefix=sha- type=raw,value=latest,enable={{is_default_branch}} - name: Set build variables @@ -403,7 +403,7 @@ jobs: type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} - type=sha,prefix={{branch}}- + type=sha,prefix=sha- type=raw,value=latest,enable={{is_default_branch}} - name: Set build variables diff --git a/.github/workflows/security-scan.yml b/.github/workflows/security-scan.yml index 96b4edf..21815a1 100644 --- a/.github/workflows/security-scan.yml +++ b/.github/workflows/security-scan.yml @@ -85,7 +85,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.24' + go-version: '1.25' - name: Download dependencies run: |