From a9c6de2f4857b9cf63d4d8cf68aecb9bc176dd2c Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Thu, 4 Apr 2024 02:11:01 -0700 Subject: [PATCH] update to non-deprecated build actions --- .github/workflows/build.yml | 2 +- .github/workflows/check-type-sizes.yml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a2072d8c9..d1abffcbf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: libxml-libxml-perl \ libxml-libxslt-perl - name: Clone df-structures - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Validate against schema run: | xmllint --schema data-definition.xsd --noout df.*.xml symbols.xml 2>&1 | tee xmllint.out; status=${PIPESTATUS[0]} diff --git a/.github/workflows/check-type-sizes.yml b/.github/workflows/check-type-sizes.yml index 3b01c64f7..6d683705d 100644 --- a/.github/workflows/check-type-sizes.yml +++ b/.github/workflows/check-type-sizes.yml @@ -62,14 +62,14 @@ jobs: - name: Install dependencies run: pip install Jinja2 - name: Clone df-structures - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download type sizes artifact (old) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: sizes-${{ runner.os }}-${{ matrix.arch }}-old path: old - name: Download type sizes artifact (new) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: sizes-${{ runner.os }}-${{ matrix.arch }}-new path: new @@ -86,7 +86,7 @@ jobs: - name: Generate report run: python3 tools/compare-sizes.py --old sizes-old.txt --new sizes-new.txt --platform ${{ env.GHA_OS_TAG }} --output sizes-${{ env.GHA_OS_TAG }}.json - name: Upload report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: sizes-${{ env.GHA_OS_TAG }} path: sizes-${{ env.GHA_OS_TAG }}.json @@ -96,9 +96,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone df-structures - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: reports - name: Generate comment @@ -119,7 +119,7 @@ jobs: --arg rows "${{ steps.generate_comment.outputs.rows }}" \ '{$comment, $comment_search, $pr_number, update_only:($rows|tonumber <= 0)}' > comment-info.json - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: comment-info.json path: comment-info.json