summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2023-03-03 11:03:06 -0700
committerCharles Harris <charlesr.harris@gmail.com>2023-03-03 11:03:06 -0700
commite4eacb09419e2b2a3119a123797adbd6ba166f58 (patch)
tree15409d743e60b41c2946935a64e21bd9c9a41a17 /.github
parent0f759540e8f6ac212bf5644666ec0b5b349960c0 (diff)
downloadnumpy-e4eacb09419e2b2a3119a123797adbd6ba166f58.tar.gz
MAINT: Update actions in gitpod/docker workflows
Update the following actions to see if the deprecation warnings for `save-state` and `set-output` gitpod are fixed. - hadolint-action (->v3) - login-action (->v2) - setup-buildx-action (->v2) Gitpod is only run on merge, so cannot be tested prior to that.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/docker.yml6
-rw-r--r--.github/workflows/gitpod.yml6
2 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index ef70b4dea..9a25fc051 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -20,7 +20,7 @@ jobs:
- name: Clone repository
uses: actions/checkout@v3
- name: Lint Docker
- uses: brpaz/hadolint-action@v1.2.1
+ uses: hadolint/hadolint-action@v3
with:
dockerfile: ./tools/gitpod/Dockerfile
- name: Get refs
@@ -32,7 +32,7 @@ jobs:
echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
id: getrefs
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v1
+ uses: docker/setup-buildx-action@v2
- name: Cache Docker layers
uses: actions/cache@v3
with:
@@ -40,7 +40,7 @@ jobs:
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: ${{ runner.os }}-buildx-
- name: Login to Docker Hub
- uses: docker/login-action@v1
+ uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
diff --git a/.github/workflows/gitpod.yml b/.github/workflows/gitpod.yml
index 466928ada..a3d76de10 100644
--- a/.github/workflows/gitpod.yml
+++ b/.github/workflows/gitpod.yml
@@ -20,7 +20,7 @@ jobs:
with:
fetch-depth: 0
- name: Lint Docker
- uses: brpaz/hadolint-action@v1.2.1
+ uses: hadolint/hadolint-action@v3
with:
dockerfile: ./tools/gitpod/gitpod.Dockerfile
- name: Get refs
@@ -32,7 +32,7 @@ jobs:
echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
id: getrefs
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v1
+ uses: docker/setup-buildx-action@v2
- name: Cache Docker layers
uses: actions/cache@v3
with:
@@ -40,7 +40,7 @@ jobs:
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: ${{ runner.os }}-buildx-
- name: Login to Docker Hub
- uses: docker/login-action@v1
+ uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}