diff --git a/.github/actions/build-base-image/action.yaml b/.github/actions/build-base-image/action.yaml index 54ba3c85983b..2f68629bce51 100644 --- a/.github/actions/build-base-image/action.yaml +++ b/.github/actions/build-base-image/action.yaml @@ -20,14 +20,14 @@ runs: run: .github/scripts/cleanup_gh_runner.sh - name: Cache BASE image - uses: actions/cache@v4.0.0 + uses: actions/cache@v4.0.2 if: inputs.TYPE == '64-bit' || inputs.TYPE == 'clang' with: path: otp_docker_base.tar key: ${{ runner.os }}-${{ hashFiles('.github/dockerfiles/Dockerfile.ubuntu-base', '.github/scripts/build-base-image.sh') }}-${{ hashFiles('OTP_VERSION') }} - name: Docker login - uses: docker/login-action@v3.0.0 + uses: docker/login-action@v3.1.0 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -39,13 +39,13 @@ runs: - name: Cache pre-built src if: inputs.BUILD_IMAGE == 'true' - uses: actions/cache@v4.0.0 + uses: actions/cache@v4.0.2 with: path: otp_src.tar.gz key: prebuilt-src-${{ github.ref_name }}-${{ github.sha }} - name: Cache pre-built binaries if: inputs.BUILD_IMAGE == 'true' - uses: actions/cache@v4.0.0 + uses: actions/cache@v4.0.2 with: path: otp_cache.tar.gz key: prebuilt-cache-${{ inputs.TYPE }}-${{ github.ref_name }}-${{ github.sha }} diff --git a/.github/workflows/actions-updater.yaml b/.github/workflows/actions-updater.yaml index cb62d4828523..cf136be5ff2b 100644 --- a/.github/workflows/actions-updater.yaml +++ b/.github/workflows/actions-updater.yaml @@ -14,12 +14,12 @@ jobs: steps: - name: Generate token id: generate_token - uses: actions/create-github-app-token@v1.7.0 + uses: actions/create-github-app-token@v1.9.3 with: app-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.APP_PEM }} - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 with: token: ${{ steps.generate_token.outputs.token }} diff --git a/.github/workflows/add-to-project.yaml b/.github/workflows/add-to-project.yaml index d01d68e3c8cb..e1b5a1dab758 100644 --- a/.github/workflows/add-to-project.yaml +++ b/.github/workflows/add-to-project.yaml @@ -16,12 +16,12 @@ jobs: steps: - name: Generate token id: generate_token - uses: actions/create-github-app-token@v1.7.0 + uses: actions/create-github-app-token@v1.9.3 with: app_id: ${{ secrets.APP_ID }} private_key: ${{ secrets.APP_PEM }} - - uses: actions/add-to-project@v0.5.0 + - uses: actions/add-to-project@v1.0.1 with: project-url: https://github.com/orgs/erlang/projects/13 github-token: ${{ steps.generate_token.outputs.token }} diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index f15247befde9..eb8314d0f670 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -40,7 +40,7 @@ jobs: changes: ${{ steps.changes.outputs.changes }} all: ${{ steps.apps.outputs.all }} steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 - uses: ./.github/actions/build-base-image with: BASE_BRANCH: ${{ env.BASE_BRANCH }} @@ -54,7 +54,7 @@ jobs: ALL_APPS=$(grep '^[a-z_]*:' .github/scripts/path-filters.yaml | sed 's/:.*$//') ALL_APPS=$(jq -n --arg inarr "${ALL_APPS}" '$inarr | split("\n")' | tr '\n' ' ') echo "all=${ALL_APPS}" >> $GITHUB_OUTPUT - - uses: dorny/paths-filter@v3.0.0 + - uses: dorny/paths-filter@v3.0.2 id: app-changes with: filters: .github/scripts/path-filters.yaml @@ -70,14 +70,14 @@ jobs: echo "changes=${CHANGED_APPS}" >> "$GITHUB_OUTPUT" fi - name: Cache pre-built src - uses: actions/cache@v4.0.0 + uses: actions/cache@v4.0.2 with: path: otp_src.tar.gz key: prebuilt-src-${{ github.ref_name }}-${{ github.sha }} restore-keys: | prebuilt-src-${{ github.base_ref }}-${{ github.event.pull_request.base.sha }} - name: Cache pre-built binaries - uses: actions/cache@v4.0.0 + uses: actions/cache@v4.0.2 with: path: otp_cache.tar.gz key: prebuilt-cache-64-bit-${{ github.ref_name }}-${{ github.sha }} @@ -86,11 +86,11 @@ jobs: - name: Create initial pre-release tar run: .github/scripts/init-pre-release.sh otp_archive.tar.gz otp_src.tar.gz - name: Upload source tar archive - uses: actions/upload-artifact@v4.3.0 + uses: actions/upload-artifact@v4.3.3 with: name: otp_git_archive path: otp_archive.tar.gz - - uses: dorny/paths-filter@v3.0.0 + - uses: dorny/paths-filter@v3.0.2 id: cache with: filters: | @@ -128,7 +128,7 @@ jobs: "`pwd`/.github/otp.tar.gz" \ "`pwd`/otp_archive.tar.gz" - name: Upload restored cache - uses: actions/upload-artifact@v4.3.0 + uses: actions/upload-artifact@v4.3.3 if: runner.debug == 1 with: name: restored-cache @@ -155,7 +155,7 @@ jobs: bash -c 'set -x; C_APPS=$(ls -d ./lib/*/c_src); find Makefile ./make ./erts ./bin/`erts/autoconf/config.guess` ./lib/erl_interface ./lib/jinterface ${C_APPS} `echo "${C_APPS}" | sed -e 's:c_src$:priv:'` -type f -newer README.md \! -name "*.beam" \! -path "*/doc/*" | xargs tar --transform "s:^./:otp/:" -uvf /github/otp_cache.tar' gzip otp_cache.tar - name: Upload pre-built tar archives - uses: actions/upload-artifact@v4.3.0 + uses: actions/upload-artifact@v4.3.3 with: name: otp_prebuilt path: | @@ -169,16 +169,16 @@ jobs: env: WXWIDGETS_VERSION: 3.1.5 steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 - name: Download source archive - uses: actions/download-artifact@v4.1.1 + uses: actions/download-artifact@v4.1.7 with: name: otp_prebuilt - name: Cache wxWidgets id: wxwidgets-cache - uses: actions/cache@v4.0.0 + uses: actions/cache@v4.0.2 with: path: wxWidgets key: wxWidgets-${{ env.WXWIDGETS_VERSION }}-${{ runner.os }}-12 @@ -204,7 +204,7 @@ jobs: ./bin/erl -noshell -eval '{wx_ref,_,_,_} = wx:new(), io:format("wx ok~n"), halt().' - name: Upload tarball - uses: actions/upload-artifact@v4.3.0 + uses: actions/upload-artifact@v4.3.3 with: name: otp_prebuilt_macos_x86-64 path: otp/otp_macos_*_x86-64.tar.gz @@ -217,9 +217,9 @@ jobs: runs-on: macos-12 needs: pack steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 - name: Download source archive - uses: actions/download-artifact@v4.1.1 + uses: actions/download-artifact@v4.1.7 with: name: otp_prebuilt @@ -238,7 +238,7 @@ jobs: xcodebuild -create-xcframework -output ./liberlang.xcframework -library liberlang.a - name: Upload framework - uses: actions/upload-artifact@v4.3.0 + uses: actions/upload-artifact@v4.3.3 with: name: ios_framework_${{ env.TARGET_ARCH }} path: otp/liberlang.xcframework @@ -253,7 +253,7 @@ jobs: runs-on: windows-2022 needs: pack steps: - - uses: Vampire/setup-wsl@v2.0.2 + - uses: Vampire/setup-wsl@v3.0.0 with: distribution: Ubuntu-18.04 @@ -267,7 +267,7 @@ jobs: IF EXIST "c:\\Program Files\\OpenSSL-Win64" (move "c:\\Program Files\\OpenSSL-Win64" "c:\\OpenSSL-Win64") ELSE (move "c:\\Program Files\\OpenSSL" "c:\\OpenSSL-Win64") - name: Cache wxWidgets - uses: actions/cache@v4.0.0 + uses: actions/cache@v4.0.2 with: path: wxWidgets key: wxWidgets-${{ env.WXWIDGETS_VERSION }}-${{ runner.os }} @@ -309,7 +309,7 @@ jobs: nmake TARGET_CPU=amd64 BUILD=release SHARED=0 DIR_SUFFIX_CPU= -f makefile.vc - name: Download source archive - uses: actions/download-artifact@v4.1.1 + uses: actions/download-artifact@v4.1.7 with: name: otp_prebuilt @@ -337,7 +337,7 @@ jobs: ./otp_build installer_win32 - name: Upload installer - uses: actions/upload-artifact@v4.3.0 + uses: actions/upload-artifact@v4.3.3 with: name: otp_win32_installer path: otp/release/win32/otp*.exe @@ -349,7 +349,7 @@ jobs: if: contains(needs.pack.outputs.changes, 'emulator') steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 - uses: ./.github/actions/build-base-image with: BASE_BRANCH: ${{ env.BASE_BRANCH }} @@ -376,7 +376,7 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 - uses: ./.github/actions/build-base-image with: BASE_BRANCH: ${{ env.BASE_BRANCH }} @@ -387,7 +387,7 @@ jobs: runs-on: ubuntu-latest needs: pack steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 - uses: ./.github/actions/build-base-image with: BASE_BRANCH: ${{ env.BASE_BRANCH }} @@ -409,7 +409,7 @@ jobs: rm -rf man tar czf ../otp_doc_html.tar.gz * - name: Upload html documentation archive - uses: actions/upload-artifact@v4.3.0 + uses: actions/upload-artifact@v4.3.3 with: name: otp_doc_html path: otp_doc_html.tar.gz @@ -429,7 +429,7 @@ jobs: runs-on: ubuntu-latest needs: pack steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 - uses: ./.github/actions/build-base-image with: BASE_BRANCH: ${{ env.BASE_BRANCH }} @@ -458,7 +458,7 @@ jobs: # type: ["os_mon","sasl"] fail-fast: false steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 - uses: ./.github/actions/build-base-image with: BASE_BRANCH: ${{ env.BASE_BRANCH }} @@ -495,7 +495,7 @@ jobs: sudo bash -c "chown -R `whoami` make_test_dir && chmod -R +r make_test_dir" tar czf ${{ matrix.type }}_test_results.tar.gz make_test_dir - name: Upload test results - uses: actions/upload-artifact@v4.3.0 + uses: actions/upload-artifact@v4.3.3 if: ${{ !cancelled() }} with: name: ${{ matrix.type }}_test_results @@ -507,12 +507,12 @@ jobs: if: ${{ !cancelled() }} # Run even if the need has failed needs: test steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 - uses: ./.github/actions/build-base-image with: BASE_BRANCH: ${{ env.BASE_BRANCH }} - name: Download test results - uses: actions/download-artifact@v4.1.1 + uses: actions/download-artifact@v4.1.7 - name: Merge test results run: | shopt -s nullglob @@ -542,14 +542,14 @@ jobs: -e 's:\(file="erts/\)make_test_dir/[^/]*:\1test:g' \ make_test_dir/*_junit.xml - name: Upload test results - uses: actions/upload-artifact@v4.3.0 + uses: actions/upload-artifact@v4.3.3 if: ${{ !cancelled() }} with: name: test_results path: test_results.tar.gz - name: Upload Test Results if: ${{ !cancelled() }} - uses: actions/upload-artifact@v4.3.0 + uses: actions/upload-artifact@v4.3.3 with: name: Unit Test Results path: | @@ -576,15 +576,15 @@ jobs: echo "tag=${TAG}" >> $GITHUB_OUTPUT echo "vsn=${VSN}" >> $GITHUB_OUTPUT - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 ## Publish the pre-built archive and docs - name: Download source archive - uses: actions/download-artifact@v4.1.1 + uses: actions/download-artifact@v4.1.7 with: name: otp_prebuilt - name: Download html docs - uses: actions/download-artifact@v4.1.1 + uses: actions/download-artifact@v4.1.7 with: name: otp_doc_html - name: Download man docs @@ -607,7 +607,7 @@ jobs: sha256sum $FILES > SHA256.txt - name: Upload pre-built and doc tar archives - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2.0.4 with: name: OTP ${{ steps.tag.outputs.vsn }} files: | @@ -626,7 +626,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Upload - uses: actions/upload-artifact@v4.3.0 + uses: actions/upload-artifact@v4.3.3 with: name: Event File path: ${{ github.event_path }} diff --git a/.github/workflows/pr-comment.yaml b/.github/workflows/pr-comment.yaml index d4f055a5faf9..61135164b8e0 100644 --- a/.github/workflows/pr-comment.yaml +++ b/.github/workflows/pr-comment.yaml @@ -21,7 +21,7 @@ jobs: outputs: result: ${{ steps.pr-number.outputs.result }} steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 - name: Fetch PR number id: pr-number env: @@ -40,7 +40,7 @@ jobs: pull-requests: write if: github.event.action == 'requested' && needs.pr-number.outputs.result != '' steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 ## We create an initial comment with some useful help to the user - uses: actions/github-script@v7.0.1 with: @@ -63,7 +63,7 @@ jobs: needs.pr-number.outputs.result != '' && github.event.workflow_run.conclusion != 'skipped' steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 - name: Download and Extract Artifacts id: extract env: @@ -88,14 +88,14 @@ jobs: echo "HAS_TEST_ARTIFACTS=false" >> $GITHUB_OUTPUT fi - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 with: token: ${{ secrets.ERLANG_TOKEN }} repository: 'erlang/erlang.github.io' path: erlang.github.io - name: Publish CT Test Results - uses: EnricoMi/publish-unit-test-result-action@v2.12.0 + uses: EnricoMi/publish-unit-test-result-action@v2.16.1 if: steps.extract.outputs.HAS_TEST_ARTIFACTS == 'true' with: commit: ${{ github.event.workflow_run.head_sha }} diff --git a/.github/workflows/sync-github-prs.yaml b/.github/workflows/sync-github-prs.yaml index 22a27f7afcd8..422dcdc9fea8 100644 --- a/.github/workflows/sync-github-prs.yaml +++ b/.github/workflows/sync-github-prs.yaml @@ -14,8 +14,8 @@ jobs: concurrency: erlang.github.io-deploy runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v4.1.1 - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 + - uses: actions/checkout@v4.1.4 with: token: ${{ secrets.ERLANG_TOKEN }} repository: 'erlang/erlang.github.io' diff --git a/.github/workflows/sync-github-releases.yaml b/.github/workflows/sync-github-releases.yaml index 7edeba164fa6..3fc56c868936 100644 --- a/.github/workflows/sync-github-releases.yaml +++ b/.github/workflows/sync-github-releases.yaml @@ -19,7 +19,7 @@ jobs: concurrency: sync-github-releases runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 ## We need to login to the package registry in order to pull ## the base debian image. - name: Docker login diff --git a/.github/workflows/update-base.yaml b/.github/workflows/update-base.yaml index b846b84a85c6..d7f305692396 100644 --- a/.github/workflows/update-base.yaml +++ b/.github/workflows/update-base.yaml @@ -26,14 +26,14 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 with: ref: ${{ matrix.branch }} - name: Cleanup GH Runner shell: bash run: .github/scripts/cleanup_gh_runner.sh - name: Docker login - uses: docker/login-action@v3.0.0 + uses: docker/login-action@v3.1.0 with: registry: ghcr.io username: ${{ github.actor }}