From eba2ac97f623e866e7b1b117c99f18b43cd36d18 Mon Sep 17 00:00:00 2001 From: Jared O'Connell <46976761+jaredoconnell@users.noreply.github.com> Date: Thu, 16 Apr 2026 03:30:15 -0400 Subject: [PATCH] Upgrade to nodejs 24 (#17) * Upgrade to nodejs 24 Signed-off-by: Jared O'Connell * Upgrade workflows Signed-off-by: Jared O'Connell --------- Signed-off-by: Jared O'Connell --- .github/workflows/selftest.yml | 19 ++++++++++--------- action.yml | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/selftest.yml b/.github/workflows/selftest.yml index aa43acc..5540a12 100644 --- a/.github/workflows/selftest.yml +++ b/.github/workflows/selftest.yml @@ -9,18 +9,19 @@ jobs: fail-fast: false matrix: os: ['ubuntu', 'macos', 'windows'] + go-version: ['1.16', '1.24'] - name: on ${{ matrix.os }} + name: on ${{ matrix.os }} (go ${{ matrix.go-version }}) runs-on: ${{ matrix.os }}-latest steps: - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.16 - - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: ${{ matrix.go-version }} - name: Install gotestfmt uses: ./ @@ -34,9 +35,9 @@ jobs: go test -json -v ./... 2>&1 | tee gotest.${{ matrix.os }}.log | gotestfmt - name: Upload test log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: - name: test-log-${{ matrix.os }} + name: test-log-${{ matrix.os }}-go${{ matrix.go-version }} path: testdata/gotest.${{ matrix.os }}.log if-no-files-found: error diff --git a/action.yml b/action.yml index da772f4..1342718 100644 --- a/action.yml +++ b/action.yml @@ -21,5 +21,5 @@ inputs: required: false default: 'gotestfmt' runs: - using: 'node20' + using: 'node24' main: 'index.js'