diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd7900e799..a21b9151d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,8 +17,8 @@ jobs: runs-on: ubuntu-latest steps: - name: Check-out source code - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 + uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '17' @@ -75,7 +75,7 @@ jobs: run: java -jar build/libs/fcli.jar --version | tee /dev/stderr | grep -E '[0-9]+\.[0-9]+\.[0-9]+' >/dev/null || (echo "fcli --version doesn't output proper version number"; exit 1) - name: Publish build artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: build/dist/**/* @@ -94,7 +94,7 @@ jobs: # CC: /opt/musl_cc/x86_64-linux-musl-native/bin/gcc steps: - name: Check-out source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: graalvm/setup-graalvm@v1 with: @@ -104,7 +104,7 @@ jobs: native-image-musl: true github-token: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: path: ./ @@ -132,7 +132,7 @@ jobs: - name: Package native fcli run: tar -zcvf artifact/release-assets/fcli-linux.tgz fcli -C ./artifact fcli_completion - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: ./artifact/**/fcli-linux.tgz @@ -142,7 +142,7 @@ jobs: runs-on: macos-latest steps: - name: Check-out source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: graalvm/setup-graalvm@v1 with: @@ -151,7 +151,7 @@ jobs: components: 'native-image' github-token: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: path: ./ @@ -172,7 +172,7 @@ jobs: - name: Package native fcli run: tar -zcvf ./artifact/release-assets/fcli-mac.tgz fcli -C ./artifact fcli_completion - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: ./artifact/**/fcli-mac.tgz @@ -188,7 +188,7 @@ jobs: components: 'native-image' github-token: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: path: ./ @@ -216,7 +216,7 @@ jobs: - name: Package native fcli run: 7z a artifact\release-assets\fcli-windows.zip fcli*.exe - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: ./artifact/**/fcli-windows.zip @@ -227,10 +227,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Check-out source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: ./ @@ -274,13 +274,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Check-out existing docs from gh-pages branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: gh-pages path: docs - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: ./ diff --git a/.github/workflows/fortify-analysis.yml b/.github/workflows/fortify-analysis.yml index b90ebf76fe..7520c30f69 100644 --- a/.github/workflows/fortify-analysis.yml +++ b/.github/workflows/fortify-analysis.yml @@ -46,7 +46,7 @@ jobs: # Java is required to run the various Fortify utilities. # When scanning a Java application, please use the appropriate Java version for building your application. - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '17' @@ -95,6 +95,6 @@ jobs: # Import Fortify on Demand results to GitHub Security Code Scanning - name: Import Results - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: ./gh-fortify-sast.sarif diff --git a/.github/workflows/functional-tests.yml b/.github/workflows/functional-tests.yml index b42ae0f39a..c7501bad77 100644 --- a/.github/workflows/functional-tests.yml +++ b/.github/workflows/functional-tests.yml @@ -26,7 +26,7 @@ jobs: steps: # Java is required for running the functional tests - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '17' @@ -78,7 +78,7 @@ jobs: - name: Publish test logs if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-log path: test-*.log @@ -95,7 +95,7 @@ jobs: steps: # Java is required for running the functional tests - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '17' @@ -148,7 +148,7 @@ jobs: - name: Publish test logs if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-log path: test-*.log