From 142fe4c6404c8c3f51766acc1a3ed311599e6eb0 Mon Sep 17 00:00:00 2001 From: dl-alexandre <166029845+dl-alexandre@users.noreply.github.com> Date: Mon, 4 May 2026 10:33:56 -0700 Subject: [PATCH] chore: improve maintenance automation --- .github/dependabot.yml | 48 +++++++++++++++++++++++++++++++ .github/workflows/benchmarks.yml | 2 +- .github/workflows/ci.yml | 9 +++--- .github/workflows/maintenance.yml | 2 +- 4 files changed, 54 insertions(+), 7 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..179c0ad --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,48 @@ +version: 2 + +updates: + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "10:00" + timezone: "Etc/UTC" + groups: + go-modules: + patterns: + - "*" + open-pull-requests-limit: 5 + reviewers: + - "dl-alexandre" + assignees: + - "dl-alexandre" + commit-message: + prefix: "chore(deps)" + include: "scope" + labels: + - "dependencies" + - "go" + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "10:15" + timezone: "Etc/UTC" + groups: + github-actions: + patterns: + - "*" + open-pull-requests-limit: 3 + reviewers: + - "dl-alexandre" + assignees: + - "dl-alexandre" + commit-message: + prefix: "chore(ci)" + include: "scope" + labels: + - "dependencies" + - "github-actions" diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 8f22d8c..c1fc40b 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -31,7 +31,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: "1.25.x" + go-version-file: go.mod cache: true - name: Run benchmark suite diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6006348..2a7e137 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,6 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - go-version: ['1.25.x'] steps: - name: Checkout code @@ -33,7 +32,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: ${{ matrix.go-version }} + go-version-file: go.mod cache: true - name: Configure git for private repos @@ -118,7 +117,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: '1.25.x' + go-version-file: go.mod cache: true - name: Configure git for private repos @@ -170,7 +169,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: '1.25.x' + go-version-file: go.mod cache: true - name: Configure git for private repos @@ -203,7 +202,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: '1.25.x' + go-version-file: go.mod cache: true - name: Configure git for private repos diff --git a/.github/workflows/maintenance.yml b/.github/workflows/maintenance.yml index cbaad11..39ea442 100644 --- a/.github/workflows/maintenance.yml +++ b/.github/workflows/maintenance.yml @@ -31,7 +31,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: "1.25.x" + go-version-file: go.mod cache: true - name: Collect dependency update report