From 2194e7752eb1706251694b058fa8e1d7fbd370d4 Mon Sep 17 00:00:00 2001 From: "Peter A. Jonsson" Date: Sat, 21 Sep 2024 11:25:39 +0200 Subject: [PATCH] CI: update to checkout@v4 This fixes the warning: The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/github-script@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ --- .github/workflows/lint.yaml | 2 +- .github/workflows/main.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 9d39f5668..7a117aeca 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -47,7 +47,7 @@ jobs: python-version: [3.9] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup conda uses: s-weigand/setup-conda@v1 with: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 37a245a09..5945b7fa5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ on: - '!contrib/**' workflow_dispatch: - + env: DOCKER_USER: gadockersvc DOCKER_IMAGE: opendatacube/datacube-tests:latest @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0