From b61f0421f7e8a263d5faf78b0754bc8a51ad46fb Mon Sep 17 00:00:00 2001 From: "Mark S. Lewis" Date: Sun, 25 Feb 2024 00:45:26 +0000 Subject: [PATCH] Update GitHub action versions Avoid using deprecated action versions based on Node versions prior to Node 18. Signed-off-by: Mark S. Lewis --- .github/actions/fsat-setup/action.yaml | 6 +++--- .github/actions/test-network-setup/action.yaml | 5 ++--- .github/workflows/lint.yaml | 4 ++-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/actions/fsat-setup/action.yaml b/.github/actions/fsat-setup/action.yaml index 5ff5849fe2..0215422f66 100644 --- a/.github/actions/fsat-setup/action.yaml +++ b/.github/actions/fsat-setup/action.yaml @@ -6,7 +6,7 @@ inputs: default: 18.x just-version: description: Just Version - default: '1.13.0' + default: '1.24.0' k9s-version: description: k9s Version default: v0.25.3 @@ -35,9 +35,9 @@ runs: sudo chmod 755 /usr/local/bin/k9s - name: Install just - uses: extractions/setup-just@v1 + uses: taiki-e/install-action@v2 with: - just-version: ${{ inputs.just-version }} + tool: just@${{ inputs.just-version }} - name: Install weft shell: bash diff --git a/.github/actions/test-network-setup/action.yaml b/.github/actions/test-network-setup/action.yaml index 6593195287..6fc992504d 100644 --- a/.github/actions/test-network-setup/action.yaml +++ b/.github/actions/test-network-setup/action.yaml @@ -20,10 +20,9 @@ inputs: runs: using: "composite" steps: - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ inputs.go-version }} - cache: true cache-dependency-path: '**/go.sum' - uses: actions/setup-node@v4 @@ -32,7 +31,7 @@ runs: cache: 'npm' cache-dependency-path: '**/package-lock.json' - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: temurin java-version: ${{ inputs.java-version }} diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 928f8cda98..6283ddc9b6 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -24,7 +24,7 @@ jobs: go: runs-on: fabric-ubuntu-20.04 steps: - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VER }} - uses: actions/checkout@v4 @@ -53,7 +53,7 @@ jobs: runs-on: fabric-ubuntu-20.04 steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: temurin java-version: ${{ env.JAVA_VER }}