From a66a05e440267945eba452cd2277502ae575ba9e Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Tue, 24 Jan 2023 11:14:25 +0100 Subject: [PATCH] TT#124273 GitHub actions: update steps to latest actions Quoting annotations/deprecation notes from GitHub actions (see e.g. https://github.com/sipwise/rtpengine/actions/runs/3995067348): | Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/upload-artifact@v2. | For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Also see https://github.com/actions/upload-artifact + https://github.com/actions/checkout for our related actions. Change-Id: Ic2c26a8e617241063a63f02ca073d77a93853bc6 --- .github/workflows/coverity.yml | 2 +- .github/workflows/debpkg.yml | 12 ++++++------ .github/workflows/shellcheck.yml | 2 +- .github/workflows/unit-tests.yml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index e9008ee0b..9da946bd0 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -20,7 +20,7 @@ jobs: COVERITY_SCAN_NOTIFICATION_EMAIL: development@sipwise.com steps: - name: Checkout source - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Update APT cache run: | diff --git a/.github/workflows/debpkg.yml b/.github/workflows/debpkg.yml index d043ebd32..d10cf1812 100644 --- a/.github/workflows/debpkg.yml +++ b/.github/workflows/debpkg.yml @@ -13,19 +13,19 @@ jobs: steps: - name: Checkout source - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Execute Docker debpkg action uses: ./.github/actions/debpkg-bullseye - name: Store Debian package artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: Debian binary package files path: '*.deb' - name: Store Debian package build info - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: Debian buildinfo file path: '*.buildinfo' @@ -36,19 +36,19 @@ jobs: steps: - name: Checkout source - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Execute Docker debpkg action uses: ./.github/actions/debpkg-sid - name: Store Debian package artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: Debian binary package files path: '*.deb' - name: Store Debian package build info - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: Debian buildinfo file path: '*.buildinfo' diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml index a4c5748bc..e8cfd215a 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout source - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Display original shellcheck version run: shellcheck --version diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index fd1426339..3d9b3b227 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout source - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Update APT cache run: |