fix(ci): update Go to 1.24 for ai-compliance-sdk
All checks were successful
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-ai-compliance (push) Successful in 43s
CI / test-python-backend-compliance (push) Successful in 30s
CI / test-python-document-crawler (push) Successful in 26s
CI / test-python-dsms-gateway (push) Successful in 19s
All checks were successful
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-ai-compliance (push) Successful in 43s
CI / test-python-backend-compliance (push) Successful in 30s
CI / test-python-document-crawler (push) Successful in 26s
CI / test-python-dsms-gateway (push) Successful in 19s
The ai-compliance-sdk go.mod requires go >= 1.24.0 but CI was using golang:1.23-alpine. Updated both Gitea Actions and Woodpecker pipelines. Also updated golangci-lint to v1.62 for Go 1.24 compatibility. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -22,7 +22,7 @@ jobs:
|
|||||||
go-lint:
|
go-lint:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
container: golangci/golangci-lint:v1.55-alpine
|
container: golangci/golangci-lint:v1.62-alpine
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
run: |
|
||||||
@@ -80,7 +80,7 @@ jobs:
|
|||||||
|
|
||||||
test-go-ai-compliance:
|
test-go-ai-compliance:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container: golang:1.23-alpine
|
container: golang:1.24-alpine
|
||||||
env:
|
env:
|
||||||
CGO_ENABLED: "0"
|
CGO_ENABLED: "0"
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ clone:
|
|||||||
- macmini:192.168.178.100
|
- macmini:192.168.178.100
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &golang_image golang:1.23-alpine
|
- &golang_image golang:1.24-alpine
|
||||||
- &python_image python:3.12-slim
|
- &python_image python:3.12-slim
|
||||||
- &nodejs_image node:20-alpine
|
- &nodejs_image node:20-alpine
|
||||||
- &docker_image docker:27-cli
|
- &docker_image docker:27-cli
|
||||||
@@ -39,7 +39,7 @@ steps:
|
|||||||
# ========================================
|
# ========================================
|
||||||
|
|
||||||
go-lint:
|
go-lint:
|
||||||
image: golangci/golangci-lint:v1.55-alpine
|
image: golangci/golangci-lint:v1.62-alpine
|
||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
if [ -d "ai-compliance-sdk" ]; then
|
if [ -d "ai-compliance-sdk" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user