From 1dda727db1b67ed839cc377ef41d9ce971dc4914 Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Sat, 21 Dec 2024 21:19:30 +0100 Subject: [PATCH] Automated dependency check via dependabot --- .github/.dependabot.yml | 9 +++++++++ .github/workflows/test.yml | 6 +++--- go.mod | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 .github/.dependabot.yml diff --git a/.github/.dependabot.yml b/.github/.dependabot.yml new file mode 100644 index 0000000..c184deb --- /dev/null +++ b/.github/.dependabot.yml @@ -0,0 +1,9 @@ +version: 2 +updates: + # Enable version updates for GitHub action workflows + - package-ecosystem: github-actions + directory: "/" + # Check for updates to GitHub Actions once per week + schedule: + interval: weekly + open-pull-requests-limit: 10 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6c5350f..f4259e7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,8 +14,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 3 steps: - - uses: actions/setup-go@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: - go-version: 1.22.4 - - uses: actions/checkout@v3 + go-version: 1.22.10 - run: go test -mod vendor ./... diff --git a/go.mod b/go.mod index 9c21a5e..5a63082 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/TwiN/go-color -go 1.22.4 +go 1.22.10