Skip to content

Commit

Permalink
ci: Update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rsenden committed Jan 31, 2024
1 parent 2bcfedb commit 10424bd
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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/**/*

Expand All @@ -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:
Expand All @@ -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: ./

Expand Down Expand Up @@ -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

Expand All @@ -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:
Expand All @@ -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: ./

Expand All @@ -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

Expand All @@ -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: ./

Expand Down Expand Up @@ -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

Expand All @@ -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: ./

Expand Down Expand Up @@ -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: ./

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fortify-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
8 changes: 4 additions & 4 deletions .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand All @@ -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'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 10424bd

Please sign in to comment.