From 4297eb5edb034d72b9c395bac60e3bbe415d4fee Mon Sep 17 00:00:00 2001 From: Javier Arias Date: Tue, 25 Oct 2022 11:57:51 +0100 Subject: [PATCH 1/6] Upgrade actions/checkout --- .github/workflows/build_test_and_check.yml | 8 ++++---- .github/workflows/docker_build_and_push_to_dockerhub.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_test_and_check.yml b/.github/workflows/build_test_and_check.yml index fd6969fc7..25940ed09 100644 --- a/.github/workflows/build_test_and_check.yml +++ b/.github/workflows/build_test_and_check.yml @@ -32,7 +32,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/setup-node@v2 with: node-version: '12.19.0' @@ -56,7 +56,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/setup-node@v2 with: node-version: '12.19.0' @@ -85,7 +85,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/setup-node@v2 with: node-version: '12.19.0' @@ -114,7 +114,7 @@ jobs: format_check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 with: toolchain: stable diff --git a/.github/workflows/docker_build_and_push_to_dockerhub.yml b/.github/workflows/docker_build_and_push_to_dockerhub.yml index 6d4a03f98..edc0dfdc2 100644 --- a/.github/workflows/docker_build_and_push_to_dockerhub.yml +++ b/.github/workflows/docker_build_and_push_to_dockerhub.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Docker meta id: meta uses: docker/metadata-action@v3 From d7bde1d6fd876e151a013aa61c5d9e43ad061cce Mon Sep 17 00:00:00 2001 From: Javier Arias Date: Tue, 25 Oct 2022 12:02:12 +0100 Subject: [PATCH 2/6] Upgrade docker actions --- .github/workflows/docker_build.yml | 6 +++--- .../workflows/docker_build_and_push_to_dockerhub.yml | 10 +++++----- .github/workflows/docker_build_dev.yml | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/docker_build.yml b/.github/workflows/docker_build.yml index 72f0fa335..09c3fb4f2 100644 --- a/.github/workflows/docker_build.yml +++ b/.github/workflows/docker_build.yml @@ -14,12 +14,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Build id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: push: false tags: openbookpublishers/thoth:latest diff --git a/.github/workflows/docker_build_and_push_to_dockerhub.yml b/.github/workflows/docker_build_and_push_to_dockerhub.yml index edc0dfdc2..382d043ca 100644 --- a/.github/workflows/docker_build_and_push_to_dockerhub.yml +++ b/.github/workflows/docker_build_and_push_to_dockerhub.yml @@ -12,7 +12,7 @@ jobs: uses: actions/checkout@v3 - name: Docker meta id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v4 with: # list of Docker images to use as base name for tags images: | @@ -23,17 +23,17 @@ jobs: type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: push: true tags: ${{ steps.meta.outputs.tags }} diff --git a/.github/workflows/docker_build_dev.yml b/.github/workflows/docker_build_dev.yml index c2b9046f0..f1cbc9789 100644 --- a/.github/workflows/docker_build_dev.yml +++ b/.github/workflows/docker_build_dev.yml @@ -17,12 +17,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Build id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: push: false tags: openbookpublishers/thoth:latest From 776a0810a034fc8cd22a45723b90716c16e713d5 Mon Sep 17 00:00:00 2001 From: Javier Arias Date: Tue, 25 Oct 2022 12:04:53 +0100 Subject: [PATCH 3/6] Upgrade node in github actions --- .github/workflows/build_test_and_check.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_test_and_check.yml b/.github/workflows/build_test_and_check.yml index 25940ed09..63ad56100 100644 --- a/.github/workflows/build_test_and_check.yml +++ b/.github/workflows/build_test_and_check.yml @@ -35,7 +35,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v2 with: - node-version: '12.19.0' + node-version: '16.16.0' - uses: actions-rs/toolchain@v1 with: toolchain: stable @@ -59,7 +59,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v2 with: - node-version: '12.19.0' + node-version: '16.16.0' - uses: actions-rs/toolchain@v1 with: toolchain: stable @@ -88,7 +88,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v2 with: - node-version: '12.19.0' + node-version: '16.16.0' - uses: actions-rs/toolchain@v1 with: toolchain: stable From a1003f0d9346cbad7154a02492ca3a1cbc845c38 Mon Sep 17 00:00:00 2001 From: Javier Arias Date: Tue, 25 Oct 2022 12:09:32 +0100 Subject: [PATCH 4/6] Upgrade wasm pack in github actions --- .github/workflows/build_test_and_check.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_test_and_check.yml b/.github/workflows/build_test_and_check.yml index 63ad56100..c48fa24f6 100644 --- a/.github/workflows/build_test_and_check.yml +++ b/.github/workflows/build_test_and_check.yml @@ -41,7 +41,7 @@ jobs: toolchain: stable - uses: jetli/wasm-pack-action@v0.3.0 with: - version: 'v0.9.1' + version: 'v0.10.3' - name: Install rollup run: sudo npm install -g rollup@2.28.2 - name: Compile WASM @@ -65,7 +65,7 @@ jobs: toolchain: stable - uses: jetli/wasm-pack-action@v0.3.0 with: - version: 'v0.9.1' + version: 'v0.10.3' - name: Install rollup run: sudo npm install -g rollup@2.28.2 - name: Compile WASM @@ -94,7 +94,7 @@ jobs: toolchain: stable - uses: jetli/wasm-pack-action@v0.3.0 with: - version: 'v0.9.1' + version: 'v0.10.3' - name: Install rollup run: sudo npm install -g rollup@2.28.2 - name: Compile WASM From 7865d8ceb70e9929562e731edc6a3cbeeee818c8 Mon Sep 17 00:00:00 2001 From: Javier Arias Date: Tue, 25 Oct 2022 12:10:58 +0100 Subject: [PATCH 5/6] Upgrade actions/setup-node --- .github/workflows/build_test_and_check.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_test_and_check.yml b/.github/workflows/build_test_and_check.yml index c48fa24f6..e1ae3fd76 100644 --- a/.github/workflows/build_test_and_check.yml +++ b/.github/workflows/build_test_and_check.yml @@ -33,7 +33,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: '16.16.0' - uses: actions-rs/toolchain@v1 @@ -57,7 +57,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: '16.16.0' - uses: actions-rs/toolchain@v1 @@ -86,7 +86,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: '16.16.0' - uses: actions-rs/toolchain@v1 From f2a162900e4626c02e1e8320487de9c5851b2f1c Mon Sep 17 00:00:00 2001 From: Javier Arias Date: Tue, 25 Oct 2022 12:15:03 +0100 Subject: [PATCH 6/6] Upgrade rollup in github actions --- .github/workflows/build_test_and_check.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_test_and_check.yml b/.github/workflows/build_test_and_check.yml index e1ae3fd76..da640d2e1 100644 --- a/.github/workflows/build_test_and_check.yml +++ b/.github/workflows/build_test_and_check.yml @@ -43,7 +43,7 @@ jobs: with: version: 'v0.10.3' - name: Install rollup - run: sudo npm install -g rollup@2.28.2 + run: sudo npm install -g rollup@2.77.2 - name: Compile WASM run: wasm-pack build thoth-app/ --target web --release - name: Pack APP @@ -67,7 +67,7 @@ jobs: with: version: 'v0.10.3' - name: Install rollup - run: sudo npm install -g rollup@2.28.2 + run: sudo npm install -g rollup@2.77.2 - name: Compile WASM run: wasm-pack build thoth-app/ --target web --release - name: Pack APP @@ -96,7 +96,7 @@ jobs: with: version: 'v0.10.3' - name: Install rollup - run: sudo npm install -g rollup@2.28.2 + run: sudo npm install -g rollup@2.77.2 - name: Compile WASM run: wasm-pack build thoth-app/ --target web --release - name: Pack APP