From 6b835ee8d23f28fc6e452bfbb2b1ccd97f067a1b Mon Sep 17 00:00:00 2001 From: Dou Du Date: Mon, 10 Jun 2024 11:57:03 +0200 Subject: [PATCH] update workflow actions version --- .github/workflows/voila-test.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/voila-test.yml b/.github/workflows/voila-test.yml index 25f73b9..63ce43a 100644 --- a/.github/workflows/voila-test.yml +++ b/.github/workflows/voila-test.yml @@ -10,18 +10,19 @@ on: jobs: check-elements: + name: Check Element runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '21.x' - name: Install Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: '3.11' architecture: 'x64' - name: Install dependencies run: @@ -45,7 +46,7 @@ jobs: sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional python3 $GITHUB_WORKSPACE/test/test.py - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: artifact path: './*.png' @@ -55,15 +56,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '21.x' - name: Install Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: '3.11' architecture: 'x64' - name: Install dependencies run: