From e6822bdda66640769823c1fa6f3573c5f4bc32ea Mon Sep 17 00:00:00 2001 From: Guillaume Grossetie Date: Tue, 7 Nov 2023 23:01:01 +0100 Subject: [PATCH] Update GitHub Actions (major) (#1670) --- .github/workflows/dockerhub-description.yml | 2 +- .github/workflows/docs-ci.yml | 6 +++--- .github/workflows/main.yaml | 8 ++++---- .github/workflows/mermaid-ci.yaml | 4 ++-- .github/workflows/release.yml | 8 ++++---- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/dockerhub-description.yml b/.github/workflows/dockerhub-description.yml index 88e383d32..c46683ac7 100644 --- a/.github/workflows/dockerhub-description.yml +++ b/.github/workflows/dockerhub-description.yml @@ -9,7 +9,7 @@ jobs: docker-hub-description: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.6.0 + - uses: actions/checkout@v4.1.1 - name: Docker Hub Description uses: peter-evans/dockerhub-description@v3.4.2 diff --git a/.github/workflows/docs-ci.yml b/.github/workflows/docs-ci.yml index 46f266590..a0ccca7da 100644 --- a/.github/workflows/docs-ci.yml +++ b/.github/workflows/docs-ci.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Kubernetes Kind run: | curl -Lo ./kind "https://kind.sigs.k8s.io/dl/v0.11.1/kind-linux-amd64" @@ -61,7 +61,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Kubernetes Kind run: | curl -Lo ./kind "https://kind.sigs.k8s.io/dl/v0.11.1/kind-linux-amd64" @@ -104,7 +104,7 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Docker # taken from https://github.com/docker/github-actions/blob/0f18e2abad9a4ac2963d2516246787375b5ec917/Dockerfile#L32 run: curl -fL https://download.docker.com/linux/static/stable/x86_64/docker-20.10.21.tgz | tar xzO docker/docker > docker && sudo mv -f docker /usr/bin/docker && sudo chmod +x /usr/bin/docker diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 03562169b..50bce0667 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -22,7 +22,7 @@ jobs: test-containers: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Free up disk space #if: ${{ inputs.build_multiarch }} @@ -200,10 +200,10 @@ jobs: - name: Set up QEMU if: ${{ inputs.build_multiarch }} - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 with: config-inline: | [worker.oci] @@ -225,7 +225,7 @@ jobs: CACHE_TO: 'type=local,dest=/tmp/.buildx-cache-new' - name: 'Setup Node.js 18' - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 diff --git a/.github/workflows/mermaid-ci.yaml b/.github/workflows/mermaid-ci.yaml index 9daa41fca..03a644b8c 100644 --- a/.github/workflows/mermaid-ci.yaml +++ b/.github/workflows/mermaid-ci.yaml @@ -16,9 +16,9 @@ jobs: mermaid-ci: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: 'Setup Node.js 18' - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 - name: Install Node dependencies diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c20e43e70..8fbce91d2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: release: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install GraphViz run: sudo apt-get install graphviz -y - name: Set up JDK 11 @@ -35,7 +35,7 @@ jobs: publish_dockerhub: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install GraphViz run: sudo apt-get install graphviz -y - name: Set up JDK 11 @@ -46,9 +46,9 @@ jobs: - name: Build Java server run: make buildServer - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub run: | echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin