diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e86555c..43c65f68 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,12 +15,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: - go-version: '1.21' + go-version: '1.25' cache: true - name: Install bc for floating-point math @@ -137,7 +137,7 @@ jobs: - name: Comment on PR if: github.event_name == 'pull_request' - uses: actions/github-script@v7 + uses: actions/github-script@v8 env: COMMENT_BODY: ${{ steps.comment.outputs.comment_body }} with: @@ -209,7 +209,7 @@ jobs: # Badge can be updated manually or via a separate workflow with appropriate permissions - name: Upload coverage artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: coverage-report path: | @@ -223,12 +223,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: - go-version: '1.21' + go-version: '1.25' cache: true - name: Install golangci-lint @@ -244,12 +244,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: - go-version: '1.21' + go-version: '1.25' cache: true - name: Build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ac7df2ef..11003103 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 @@ -23,7 +23,7 @@ jobs: run: git fetch --force --tags - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: '1.21' cache: true @@ -34,10 +34,10 @@ jobs: cosign-release: 'v2.2.4' - name: Install syft (for SBOM generation) - uses: anchore/sbom-action/download-syft@v0.15.10 + uses: anchore/sbom-action/download-syft@v0.22.2 - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser version: latest @@ -46,7 +46,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload release artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: release-artifacts path: | diff --git a/CLAUDE.md b/CLAUDE.md index 62c96b1e..711f0def 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -177,7 +177,7 @@ See [TESTING.md](docs/TESTING.md) for details. ## Core Dependencies -- **Go 1.21+** with generics +- **Go 1.25+** - **datadog-api-client-go** - Official API client - **cobra** - CLI framework - **viper** - Configuration