From 830133102d2029b342618516880594848aa483d7 Mon Sep 17 00:00:00 2001 From: Jason Millard Date: Fri, 20 Mar 2026 22:01:11 -0400 Subject: [PATCH] ci: bump some github actions to latest --- .github/workflows/ci.yml | 6 +++--- .github/workflows/format.yml | 6 +++--- .github/workflows/release.yml | 14 +++++++------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dcf5c93..172b8c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: env: CMAKE_VERSION: 3.20.0 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Install Linux dependencies @@ -57,7 +57,7 @@ jobs: CC: ${{ matrix.cc }} CXX: ${{ matrix.cxx }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Install Linux dependencies @@ -94,7 +94,7 @@ jobs: strategy: fail-fast: false steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Install Linux dependencies diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index bb1e3fb..a6cbecf 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -12,7 +12,7 @@ jobs: name: cmake-format runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} @@ -31,7 +31,7 @@ jobs: needs: cmake-format-check if: always() && startsWith(github.event_name, 'pull_request') && needs.cmake-format-check.result == 'failure' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} @@ -45,7 +45,7 @@ jobs: args: --config-files .cmake-format.py --in-place - run: | git diff > cmake-format.patch - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: formatting-fix-${{github.sha}} path: cmake-format.patch diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d2f454f..77f4a8d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: sha: ${{ steps.version.outputs.sha }} tag: ${{ steps.version.outputs.tag }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive fetch-depth: 0 @@ -51,7 +51,7 @@ jobs: CMAKE_INSTALL_DIR: ${{ github.workspace }}/install/ steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Install Linux dependencies @@ -80,7 +80,7 @@ jobs: - name: Build run: | cmake --build "${{ env.CMAKE_BUILD_DIR }}" --target install --config Release - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: ${{ matrix.os }} path: ${{ github.workspace }}/install/ @@ -93,7 +93,7 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive fetch-depth: 0 @@ -102,15 +102,15 @@ jobs: find src/bgfx.cmake -name ".git*" -exec rm -rf {} + find src/bgfx.cmake -name ".editorconfig" -delete rm src/bgfx.cmake/.cmake-format.py - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: name: windows-latest path: ${{ github.workspace }}/install/windows/bgfx.cmake - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: name: ubuntu-latest path: ${{ github.workspace }}/install/linux/bgfx.cmake - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: name: macos-latest path: ${{ github.workspace }}/install/macos/bgfx.cmake