From 5f388374729fb8451ec22476141f81b1b0cc201e Mon Sep 17 00:00:00 2001 From: Neo2308 Date: Thu, 25 Jul 2024 12:35:06 +0530 Subject: [PATCH] Update github actions to use node 20 * Update github actions to latest * Configure dependabot to check for newer versions of actions --- .github/dependabot.yml | 4 ++++ .github/workflows/lint.yml | 4 ++-- .github/workflows/test-unit.yml | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index ac6621f..c907224 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,6 +5,10 @@ version: 2 updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" - package-ecosystem: "" # See documentation for possible values directory: "/" # Location of package manifests schedule: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3cf58ed..c1bf672 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,10 +7,10 @@ jobs: name: lint runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version-file: "go.mod" - run: make lint diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index bea7923..fe13597 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -7,10 +7,10 @@ jobs: name: unit runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version-file: "go.mod" - run: make test