diff --git a/.github/actions/android-build-and-upload-render-test/action.yml b/.github/actions/android-build-and-upload-render-test/action.yml index 47af2811b..b64b003ad 100644 --- a/.github/actions/android-build-and-upload-render-test/action.yml +++ b/.github/actions/android-build-and-upload-render-test/action.yml @@ -16,7 +16,7 @@ runs: working-directory: ./render-test/android - name: Upload APK files for ${{ inputs.flavor }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: android-render-tests-${{ inputs.flavor }} if-no-files-found: error diff --git a/.github/actions/download-workflow-run-artifact/action.yml b/.github/actions/download-workflow-run-artifact/action.yml index 8a84b9043..2d3a7b555 100644 --- a/.github/actions/download-workflow-run-artifact/action.yml +++ b/.github/actions/download-workflow-run-artifact/action.yml @@ -12,7 +12,7 @@ runs: steps: # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run - name: Download ${{ inputs.artifact-name }} artifact - uses: actions/github-script@v6 + uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 with: script: | let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({ @@ -38,7 +38,7 @@ runs: - name: "Check .zip file existence" id: zip_exists - uses: andstor/file-existence-action@v2.0.0 + uses: andstor/file-existence-action@20b4d2e596410855db8f9ca21e96fbe18e12930b # v2.0.0 with: files: ${{ inputs.artifact-name }}.zip @@ -48,7 +48,7 @@ runs: run: unzip ${{ inputs.artifact-name }}.zip - name: "Check file existence" - uses: andstor/file-existence-action@v2.0.0 + uses: andstor/file-existence-action@20b4d2e596410855db8f9ca21e96fbe18e12930b # v2.0.0 if: ${{ inputs.expect-files }} with: fail: true diff --git a/.github/actions/save-pr-number/action.yml b/.github/actions/save-pr-number/action.yml index bcb94fed3..2ef362e20 100644 --- a/.github/actions/save-pr-number/action.yml +++ b/.github/actions/save-pr-number/action.yml @@ -10,7 +10,7 @@ runs: echo "${{ github.event.number }}" > ./pr_number - name: Upload pr_number - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: pr-number path: ./pr_number diff --git a/.github/actions/setup-android-ci/action.yml b/.github/actions/setup-android-ci/action.yml index f8a407a7e..a07acc9a5 100644 --- a/.github/actions/setup-android-ci/action.yml +++ b/.github/actions/setup-android-ci/action.yml @@ -23,13 +23,13 @@ runs: - run: echo "cmake.dir=$(dirname "$(dirname "$(command -v cmake)")")" >> local.properties shell: bash - - uses: actions/setup-java@v4 + - uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1 with: distribution: "temurin" java-version: "17" - name: restore-gradle-cache - uses: actions/cache@v4 + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 env: cache-name: gradle-v1 with: diff --git a/.github/workflows/android-ci.yml b/.github/workflows/android-ci.yml index 5ca572eb4..9c38423e5 100644 --- a/.github/workflows/android-ci.yml +++ b/.github/workflows/android-ci.yml @@ -33,7 +33,7 @@ jobs: - name: Get all Android files that have changed if: github.event_name != 'workflow_dispatch' id: changed-files - uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46 + uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5 with: files_yaml_from_source_file: .github/changed-files.yml @@ -93,7 +93,7 @@ jobs: rm -rf venv shell: bash - - uses: infotroph/tree-is-clean@69d598a958e8cb8f3d0e3d52b5ebcd8684f2adc2 # v1 + - uses: infotroph/tree-is-clean@69d598a958e8cb8f3d0e3d52b5ebcd8684f2adc2 # v1.0.6 with: check_untracked: true @@ -157,7 +157,7 @@ jobs: - name: Create artifact for benchmark APKs if: matrix.renderer == 'opengl' - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: if-no-files-found: error name: benchmarkAPKs @@ -184,7 +184,7 @@ jobs: cp MapLibreAndroidTestApp/build/outputs/apk/androidTest/${{ matrix.renderer }}/debug/MapLibreAndroidTestApp-${{ matrix.renderer }}-debug-androidTest.apk InstrumentationTests${{ env.renderer }}.apk - name: Upload android-ui-test-${{ matrix.renderer }} - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: if-no-files-found: error name: android-ui-test-${{ matrix.renderer }} @@ -243,7 +243,7 @@ jobs: cp app/build/outputs/apk/androidTest/release/app-release-androidTest.apk . - name: Store C++ Unit Tests .apk files - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: android-cpp-tests if-no-files-found: error @@ -320,7 +320,7 @@ jobs: - name: VERSION file changed if: github.ref == 'refs/heads/main' && github.event_name == 'push' id: version-file-android-changed - uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46 + uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5 with: files: platform/android/VERSION diff --git a/.github/workflows/android-device-test.yml b/.github/workflows/android-device-test.yml index b23de6c72..9f4621f07 100644 --- a/.github/workflows/android-device-test.yml +++ b/.github/workflows/android-device-test.yml @@ -100,7 +100,7 @@ jobs: id: get-pr-number - name: Generate token - uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2 + uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1 id: generate_token with: skip-token-revoke: true # revoking will fail for long running workflows, because the token will already have expired @@ -109,7 +109,7 @@ jobs: - name: Check if comment on PR contains '!benchmark android' if: matrix.test.name == 'Android Benchmark' && steps.get-pr-number.outputs.pr-number - uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e # v3 + uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e # v3.1.0 id: benchmark_comment with: issue-number: ${{ steps.get-pr-number.outputs.pr-number }} @@ -196,14 +196,14 @@ jobs: - name: Upload Test Artifacts if: (matrix.test.name == 'Android Benchmark' || failure()) && env.run_device_test == 'true' - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: "Test Artifacts ${{ matrix.test.name }}" path: test_artifacts.zip - name: Generate another token (previous one could have expired) if: always() - uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2 + uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1 id: generate_token_2 with: app-id: ${{ secrets.MAPLIBRE_NATIVE_BOT_APP_ID }} diff --git a/.github/workflows/android-release.yml b/.github/workflows/android-release.yml index af8413e98..cb4dd94e7 100644 --- a/.github/workflows/android-release.yml +++ b/.github/workflows/android-release.yml @@ -50,7 +50,7 @@ jobs: - name: Create release id: create_release - uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1 + uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1.1.4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -108,7 +108,7 @@ jobs: echo buildtype=${buildtype,,} > "$GITHUB_ENV" - name: Upload aar (${{ matrix.RENDERER }}, ${{ matrix.BUILDTYPE }}) - uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1 + uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -118,7 +118,7 @@ jobs: asset_content_type: application/zip - name: Upload debug symbols (${{ matrix.RENDERER }}, ${{ matrix.BUILDTYPE }}) - uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1 + uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/core-release.yml b/.github/workflows/core-release.yml index ccd400bdf..66e579b0b 100644 --- a/.github/workflows/core-release.yml +++ b/.github/workflows/core-release.yml @@ -51,7 +51,7 @@ jobs: - run: brew install webp libuv - - uses: taiki-e/install-action@57511bcdf8cdb0eab6448cb7fa632952d9f25742 # v2 + - uses: taiki-e/install-action@57511bcdf8cdb0eab6448cb7fa632952d9f25742 # v2.59.1 with: tool: armerge@2 @@ -67,7 +67,7 @@ jobs: - name: Upload macOS artifacts if: github.event_name == 'pull_request' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: macos-metal-build path: | @@ -104,7 +104,7 @@ jobs: - name: Install dependencies run: .github/scripts/install-linux-deps - - uses: taiki-e/install-action@57511bcdf8cdb0eab6448cb7fa632952d9f25742 # v2 + - uses: taiki-e/install-action@57511bcdf8cdb0eab6448cb7fa632952d9f25742 # v2.59.1 with: tool: armerge@2 @@ -120,7 +120,7 @@ jobs: - name: Upload Linux artifacts if: github.event_name == 'pull_request' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: linux-${{ matrix.runner.arch }}-${{ matrix.renderer }}-build path: | @@ -149,7 +149,7 @@ jobs: with: submodules: recursive - - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1 + - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 - name: Build mbgl-core for Windows run: | @@ -161,7 +161,7 @@ jobs: - name: Upload Windows artifact if: github.event_name == 'pull_request' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: windows-${{ matrix.renderer }}-build path: | diff --git a/.github/workflows/gh-pages-docc.yml b/.github/workflows/gh-pages-docc.yml index 2c3e01d15..6a06f1e50 100644 --- a/.github/workflows/gh-pages-docc.yml +++ b/.github/workflows/gh-pages-docc.yml @@ -41,7 +41,7 @@ jobs: cd build zip -r docs.zip docs/ - - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: docc-docs path: build/docs.zip diff --git a/.github/workflows/gh-pages-mdbook.yml b/.github/workflows/gh-pages-mdbook.yml index a43ab1aca..0ee87b836 100644 --- a/.github/workflows/gh-pages-mdbook.yml +++ b/.github/workflows/gh-pages-mdbook.yml @@ -17,9 +17,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4 - - uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3 + - uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3.0.0 - name: Setup mdBook - uses: peaceiris/actions-mdbook@ee69d230fe19748b7abf22df32acaa93833fad08 # v2 + uses: peaceiris/actions-mdbook@ee69d230fe19748b7abf22df32acaa93833fad08 # v2.0.0 - name: Install Dependencies shell: bash run: sudo apt-get install -y libwayland-dev libxkbcommon-dev # Required for winit @@ -29,7 +29,7 @@ jobs: working-directory: docs/mdbook shell: bash run: mdbook build - - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: book path: docs/mdbook/book/ diff --git a/.github/workflows/ios-ci.yml b/.github/workflows/ios-ci.yml index e7926f425..a16596ea4 100644 --- a/.github/workflows/ios-ci.yml +++ b/.github/workflows/ios-ci.yml @@ -45,7 +45,7 @@ jobs: - name: Get all iOS files that have changed if: github.event_name != 'workflow_dispatch' id: changed-files-yaml - uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46 + uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5 with: files_yaml_from_source_file: .github/changed-files.yml @@ -78,7 +78,7 @@ jobs: fetch-depth: 0 - name: Cache Bazel - uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4 + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE', 'WORKSPACE.bazel', 'MODULE.bazel') }} restore-keys: | @@ -141,7 +141,7 @@ jobs: zip -r "$render_test_app_dir"/RenderTest.xctest.zip RenderTest.xctest echo render_test_artifacts_dir="$render_test_app_dir" >> "$GITHUB_ENV" - - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: ios-render-test retention-days: 3 @@ -168,7 +168,7 @@ jobs: zip -r "$ios_cpp_test_app_dir"/CppUnitTests.xctest.zip CppUnitTests.xctest echo ios_cpp_test_artifacts_dir="$ios_cpp_test_app_dir" >> "$GITHUB_ENV" - - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: ios-cpp-unit-tests retention-days: 3 @@ -189,7 +189,7 @@ jobs: - name: Upload size test as artifact (Bloaty) if: github.event_name == 'pull_request' - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: ios-size-test-files retention-days: 3 @@ -236,7 +236,7 @@ jobs: - name: VERSION file changed id: version-file-ios-changed - uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46 + uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5 with: files: platform/ios/VERSION @@ -320,7 +320,7 @@ jobs: - name: Release (GitHub) if: env.make_release id: github_release - uses: softprops/action-gh-release@6cbd405e2c4e67a21c47fa9e383d020e4e28b836 # v2 + uses: softprops/action-gh-release@6cbd405e2c4e67a21c47fa9e383d020e4e28b836 # v2.3.3 with: name: ios-v${{ env.version }} files: | @@ -334,7 +334,7 @@ jobs: # needed to trigger workflow for Swift Package Index release - name: Generate token if: env.make_release - uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2 + uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1 id: generate_token with: app-id: ${{ secrets.MAPLIBRE_NATIVE_BOT_APP_ID }} diff --git a/.github/workflows/ios-device-test.yml b/.github/workflows/ios-device-test.yml index 8fee83cd8..5f260aafe 100644 --- a/.github/workflows/ios-device-test.yml +++ b/.github/workflows/ios-device-test.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4 - name: Generate token - uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2 + uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1 id: generate_token with: app-id: ${{ secrets.MAPLIBRE_NATIVE_BOT_APP_ID }} @@ -74,7 +74,7 @@ jobs: - name: Generate another token (previous one could have expired) if: always() - uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2 + uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1 id: generate_token_2 with: app-id: ${{ secrets.MAPLIBRE_NATIVE_BOT_APP_ID }} diff --git a/.github/workflows/linux-ci.yml b/.github/workflows/linux-ci.yml index 466e242e5..ad44f8892 100644 --- a/.github/workflows/linux-ci.yml +++ b/.github/workflows/linux-ci.yml @@ -41,7 +41,7 @@ jobs: if: github.event_name != 'workflow_dispatch' id: changed-files - uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46 + uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5 with: files_yaml_from_source_file: .github/changed-files.yml @@ -71,7 +71,7 @@ jobs: fetch-depth: 0 - name: Initialize CodeQL - uses: github/codeql-action/init@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3 + uses: github/codeql-action/init@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3.30.1 with: languages: cpp @@ -151,7 +151,7 @@ jobs: - name: Upload mbgl-render as artifact if: matrix.variant.renderer == 'opengl' && !matrix.variant.rust && github.event_name == 'pull_request' - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: mbgl-render path: | @@ -159,7 +159,7 @@ jobs: - name: Upload mbgl-benchmark-runner as artifact if: matrix.variant.renderer == 'opengl' && !matrix.variant.rust && github.event_name == 'pull_request' - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: mbgl-benchmark-runner path: | @@ -174,7 +174,7 @@ jobs: # CodeQL - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3 + uses: github/codeql-action/analyze@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3.30.1 with: category: "/language:cpp" @@ -201,7 +201,7 @@ jobs: - name: Upload render test result if: always() && steps.render_test.outcome == 'failure' - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: render-test-result-${{ matrix.variant.renderer }} path: | @@ -229,7 +229,7 @@ jobs: run: .github/scripts/install-linux-deps - name: Cache Bazel - uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4 + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE', 'WORKSPACE.bazel', 'MODULE.bazel') }} restore-keys: | @@ -256,7 +256,7 @@ jobs: echo coverage_report="$(bazel info output_path)"/_coverage/_coverage_report.dat >> "$GITHUB_ENV" - name: Upload coverage report - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: coverage-report path: ${{ env.coverage_report }} diff --git a/.github/workflows/macos-ci.yml b/.github/workflows/macos-ci.yml index c3b5fa1ad..3d4a41f13 100644 --- a/.github/workflows/macos-ci.yml +++ b/.github/workflows/macos-ci.yml @@ -63,7 +63,7 @@ jobs: fetch-depth: 0 - name: Cache Bazel - uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4 + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE', 'WORKSPACE.bazel', 'MODULE.bazel') }} restore-keys: | diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index d45aaac4d..9ec8575ab 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -149,7 +149,7 @@ jobs: - name: Set up msvc dev cmd (Windows) if: runner.os == 'Windows' - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1 + uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 # Fixes an issue with the image causing builds to fail - https://github.com/actions/runner-images/issues/8598 - name: Remove Strawberry Perl from PATH (Windows) @@ -162,7 +162,7 @@ jobs: - name: Setup cmake # linux arm not supported https://github.com/jwlawson/actions-setup-cmake/issues/79 if: ${{contains(runner.name, 'GitHub Actions') && matrix.runs-on != 'ubuntu-22.04-arm' }} - uses: jwlawson/actions-setup-cmake@802fa1a2c4e212495c05bf94dba2704a92a472be # v2 + uses: jwlawson/actions-setup-cmake@802fa1a2c4e212495c05bf94dba2704a92a472be # v2.0.2 with: cmake-version: '3.31' @@ -172,7 +172,7 @@ jobs: - name: Set up ccache (MacOS/Linux) if: runner.os == 'MacOS' || runner.os == 'Linux' - uses: hendrikmuhs/ccache-action@63069e3931dedbf3b63792097479563182fe70d1 # v1 + uses: hendrikmuhs/ccache-action@63069e3931dedbf3b63792097479563182fe70d1 # v1.2.18 with: key: ${{ matrix.runs-on }}-${{ env.BUILDTYPE }}-${{ github.job }}-${{ github.ref }}-${{ github.sha }}-${{ github.head_ref }} restore-keys: | @@ -182,7 +182,7 @@ jobs: - name: Set up ccache (Windows) if: runner.os == 'Windows' - uses: hendrikmuhs/ccache-action@63069e3931dedbf3b63792097479563182fe70d1 # v1 + uses: hendrikmuhs/ccache-action@63069e3931dedbf3b63792097479563182fe70d1 # v1.2.18 with: variant: "sccache" key: ${{ matrix.runs-on }}-${{ env.BUILDTYPE }}-${{ github.job }}-${{ github.ref }}-${{ github.sha }}-${{ github.head_ref }} @@ -192,7 +192,7 @@ jobs: ${{ matrix.runs-on }}-${{ env.BUILDTYPE }}-${{ github.job }} - name: Cache cmake-node-module deps - uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4 + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: # downloaded with platform/node/cmake/module.cmake path: build/headers @@ -223,7 +223,7 @@ jobs: - name: Restore vcpkg binary cache if: runner.os == 'Windows' - uses: actions/cache/restore@0400d5f644dc74513175e3cd8d07132dd4860809 # v4 + uses: actions/cache/restore@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: path: ${{ github.workspace }}\platform\windows\vendor\vcpkg\archives key: vcpkg-${{ env.VCPKG_COMMIT_ID }} @@ -260,7 +260,7 @@ jobs: - name: Upload render test artifacts (MacOS) if: runner.os == 'MacOS' && steps.render_tests.outcome == 'failure' - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: render-query-test-results_${{ runner.os }}_${{ matrix.arch }} path: metrics/macos-xcode11-release-style.html diff --git a/.github/workflows/node-release.yml b/.github/workflows/node-release.yml index 7ec9a0d40..31ffeb536 100644 --- a/.github/workflows/node-release.yml +++ b/.github/workflows/node-release.yml @@ -116,7 +116,7 @@ jobs: - name: Set up msvc dev cmd (Windows) if: runner.os == 'Windows' - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1 + uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 # Fixes an issue with the image causing builds to fail - https://github.com/actions/runner-images/issues/8598 - name: Remove Strawberry Perl from PATH (Windows) @@ -128,7 +128,7 @@ jobs: - name: Setup cmake if: ${{contains(runner.name, 'GitHub Actions')}} - uses: jwlawson/actions-setup-cmake@802fa1a2c4e212495c05bf94dba2704a92a472be # v2 + uses: jwlawson/actions-setup-cmake@802fa1a2c4e212495c05bf94dba2704a92a472be # v2.0.2 with: cmake-version: '3.31' @@ -138,7 +138,7 @@ jobs: - name: Set up ccache (MacOS/Linux) if: runner.os == 'MacOS' || runner.os == 'Linux' - uses: hendrikmuhs/ccache-action@63069e3931dedbf3b63792097479563182fe70d1 # v1 + uses: hendrikmuhs/ccache-action@63069e3931dedbf3b63792097479563182fe70d1 # v1.2.18 with: key: ${{ matrix.runs-on }}-${{ env.BUILDTYPE }}-${{ github.job }}-${{ github.ref }}-${{ github.sha }}-${{ github.head_ref }} restore-keys: | @@ -148,7 +148,7 @@ jobs: - name: Set up ccache (Windows) if: runner.os == 'Windows' - uses: hendrikmuhs/ccache-action@63069e3931dedbf3b63792097479563182fe70d1 # v1 + uses: hendrikmuhs/ccache-action@63069e3931dedbf3b63792097479563182fe70d1 # v1.2.18 with: variant: "sccache" key: ${{ matrix.runs-on }}-${{ env.BUILDTYPE }}-${{ github.job }}-${{ github.ref }}-${{ github.sha }}-${{ github.head_ref }} @@ -158,7 +158,7 @@ jobs: ${{ matrix.runs-on }}-${{ env.BUILDTYPE }}-${{ github.job }} - name: Cache cmake-node-module deps - uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4 + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: # downloaded with platform/node/cmake/module.cmake path: build/headers @@ -187,7 +187,7 @@ jobs: - name: Restore vcpkg cache (Windows) if: runner.os == 'Windows' - uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4 + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: path: | ${{ github.workspace }}/platform/windows/vendor/vcpkg @@ -287,7 +287,7 @@ jobs: - name: Update Release Notes id: update_release_notes - uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1 + uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/pr-bloaty-ios.yml b/.github/workflows/pr-bloaty-ios.yml index d3fd4017e..54528e16d 100644 --- a/.github/workflows/pr-bloaty-ios.yml +++ b/.github/workflows/pr-bloaty-ios.yml @@ -48,7 +48,7 @@ jobs: - name: Cache Bloaty id: cache-bloaty - uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4 + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: path: bloaty/build/bloaty key: bloaty-${{ env.bloaty_sha }} @@ -103,7 +103,7 @@ jobs: } >> message.md - name: Leave a comment with Bloaty results - uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2 + uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2.9.4 with: number: ${{ steps.get-pr-number.outputs.pr-number }} header: bloaty-ios diff --git a/.github/workflows/pr-linux-tests.yml b/.github/workflows/pr-linux-tests.yml index 0677aa777..7a45009bd 100644 --- a/.github/workflows/pr-linux-tests.yml +++ b/.github/workflows/pr-linux-tests.yml @@ -67,7 +67,7 @@ jobs: - name: Cache Bloaty id: cache-bloaty - uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4 + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: path: bloaty/build/bloaty key: bloaty-${{ env.bloaty_sha }} @@ -125,7 +125,7 @@ jobs: } >> message.md - name: Leave a comment with Bloaty results - uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2 + uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2.9.4 with: number: ${{ steps.get-pr-number.outputs.pr-number }} header: bloaty @@ -186,7 +186,7 @@ jobs: } >> message.md - name: Leave a comment with Benchmark results - uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2 + uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2.9.4 with: number: ${{ steps.get-pr-number.outputs.pr-number }} header: benchmark diff --git a/.github/workflows/qt-ci.yml b/.github/workflows/qt-ci.yml index 15527d43a..c4e003837 100644 --- a/.github/workflows/qt-ci.yml +++ b/.github/workflows/qt-ci.yml @@ -161,13 +161,13 @@ jobs: - name: Setup Xcode if: runner.os == 'macOS' - uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1 + uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0 with: xcode-version: latest-stable - name: Setup MSVC if: matrix.qt_arch == 'win64_msvc2022_64' - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1 + uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 with: arch: ${{ matrix.compiler_type }} @@ -175,7 +175,7 @@ jobs: uses: seanmiddleditch/gha-setup-ninja@3b1f8f94a2f8254bd26914c4ab9474d4f0015f67 # v6 - name: Download Qt - uses: jurplel/install-qt-action@d325aaf2a8baeeda41ad0b5d39f84a6af9bcf005 # v4 + uses: jurplel/install-qt-action@d325aaf2a8baeeda41ad0b5d39f84a6af9bcf005 # v4.3.0 with: aqtversion: ==3.1.* version: ${{ env.QT_VERSION }} @@ -186,7 +186,7 @@ jobs: extra: --base https://mirrors.ocf.berkeley.edu/qt/ - name: Set up ccache - uses: hendrikmuhs/ccache-action@63069e3931dedbf3b63792097479563182fe70d1 # v1 + uses: hendrikmuhs/ccache-action@63069e3931dedbf3b63792097479563182fe70d1 # v1.2.18 with: key: Qt_${{ matrix.name }}_${{ matrix.qt_version }} max-size: 200M @@ -236,7 +236,7 @@ jobs: - name: Run tests (Linux) if: runner.os == 'Linux' - uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 # v1 + uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 # v1.0.1 with: run: ctest --output-on-failure working-directory: build diff --git a/.github/workflows/rust-ci.yaml b/.github/workflows/rust-ci.yaml index 7c4589ad3..c377ec675 100644 --- a/.github/workflows/rust-ci.yaml +++ b/.github/workflows/rust-ci.yaml @@ -24,7 +24,7 @@ jobs: - os: windows-latest - os: ubuntu-latest steps: - - uses: taiki-e/install-action@57511bcdf8cdb0eab6448cb7fa632952d9f25742 # v2 + - uses: taiki-e/install-action@57511bcdf8cdb0eab6448cb7fa632952d9f25742 # v2.59.1 with: { tool: just } - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4 - run: just -v ci-test @@ -33,7 +33,7 @@ jobs: name: Rust tests MSRV (Minimal Supported Rust Version) runs-on: ubuntu-latest steps: - - uses: taiki-e/install-action@57511bcdf8cdb0eab6448cb7fa632952d9f25742 # v2 + - uses: taiki-e/install-action@57511bcdf8cdb0eab6448cb7fa632952d9f25742 # v2.59.1 with: { tool: just } - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4 - name: Read crate metadata diff --git a/.github/workflows/upload-coverage.yml b/.github/workflows/upload-coverage.yml index b565b7066..95cbb08b0 100644 --- a/.github/workflows/upload-coverage.yml +++ b/.github/workflows/upload-coverage.yml @@ -46,7 +46,7 @@ jobs: - name: Upload coverage report if: '!cancelled()' - uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5 + uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 with: override_commit: ${{ github.event.workflow_run.head_sha }} override_pr: ${{ github.event.workflow_run.pull_requests[0].number }} diff --git a/.github/workflows/windows-ci.yml b/.github/workflows/windows-ci.yml index a31efe152..562f21829 100644 --- a/.github/workflows/windows-ci.yml +++ b/.github/workflows/windows-ci.yml @@ -45,7 +45,7 @@ jobs: - name: Get all Windows files that have changed if: github.event_name != 'workflow_dispatch' id: changed-files - uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46 + uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5 with: files_yaml_from_source_file: .github/changed-files.yml @@ -75,7 +75,7 @@ jobs: - name: Restore vcpkg binary cache id: vcpkg-cache - uses: actions/cache/restore@0400d5f644dc74513175e3cd8d07132dd4860809 # v4 + uses: actions/cache/restore@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: path: ${{ github.workspace }}\platform\windows\vendor\vcpkg\archives key: vcpkg-${{ env.VCPKG_COMMIT_ID }} @@ -87,7 +87,7 @@ jobs: git submodule sync --recursive git submodule update --init --force --depth=1 --recursive platform/windows/vendor/vcpkg - - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1 + - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 if: steps.vcpkg-cache.outputs.cache-hit != 'true' - name: Acquire/Build Maplibre Native Core Dependencies @@ -101,7 +101,7 @@ jobs: - name: Save vcpkg binary cache if: steps.vcpkg-cache.outputs.cache-hit != 'true' - uses: actions/cache/save@0400d5f644dc74513175e3cd8d07132dd4860809 # v4 + uses: actions/cache/save@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: path: ${{ github.workspace }}\platform\windows\vendor\vcpkg\archives key: vcpkg-${{ env.VCPKG_COMMIT_ID }} @@ -122,11 +122,11 @@ jobs: submodules: recursive - name: Initialize CodeQL - uses: github/codeql-action/init@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3 + uses: github/codeql-action/init@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3.30.1 with: languages: cpp - - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1 + - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 - uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9 @@ -141,7 +141,7 @@ jobs: Add-Content -Path $env:GITHUB_ENV -Value "VCPKG_COMMIT_ID=${vcpkg_commit_id}" - name: Restore vcpkg binary cache - uses: actions/cache/restore@0400d5f644dc74513175e3cd8d07132dd4860809 # v4 + uses: actions/cache/restore@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: path: ${{ github.workspace }}\platform\windows\vendor\vcpkg\archives key: vcpkg-${{ env.VCPKG_COMMIT_ID }} @@ -165,7 +165,7 @@ jobs: # CodeQL - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3 + uses: github/codeql-action/analyze@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3.30.1 with: category: "/language:cpp" @@ -229,7 +229,7 @@ jobs: - name: Upload render test result if: always() && steps.render_test.outcome == 'failure' - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: render-test-result-${{ matrix.renderer }} path: | @@ -257,7 +257,7 @@ jobs: with: submodules: recursive - - uses: msys2/setup-msys2@fb197b72ce45fb24f17bf3f807a388985654d1f2 # v2 + - uses: msys2/setup-msys2@fb197b72ce45fb24f17bf3f807a388985654d1f2 # v2.29.0 with: msystem: ${{ matrix.msystem }} update: true @@ -276,7 +276,7 @@ jobs: libuv:p - name: Initialize CodeQL - uses: github/codeql-action/init@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3 + uses: github/codeql-action/init@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3.30.1 with: languages: cpp @@ -305,7 +305,7 @@ jobs: # CodeQL - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3 + uses: github/codeql-action/analyze@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3.30.1 with: category: "/language:cpp" @@ -369,7 +369,7 @@ jobs: - name: Upload render test result if: always() && steps.render_test.outcome == 'failure' - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: render-test-result-${{ matrix.renderer }} path: |