From 2d2f45b1fb1aaa2f70973d4b90b9dfc92482bb67 Mon Sep 17 00:00:00 2001 From: Brad Sherman Date: Fri, 26 Jan 2024 15:55:22 -0600 Subject: [PATCH] Upgrade to Node 20 --- .github/workflows/ci.yaml | 2 +- action.yml | 2 +- index.js | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f38ddc6..5d89f71 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,5 +22,5 @@ jobs: - name: Disable core.autocrlf on Windows if: runner.os == 'Windows' run: git config --global core.autocrlf false - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./. diff --git a/action.yml b/action.yml index c16d391..4b5b010 100644 --- a/action.yml +++ b/action.yml @@ -39,5 +39,5 @@ inputs: version of fourmolu you wish to use. default: latest runs: - using: 'node16' + using: 'node20' main: 'dist/index.js' diff --git a/index.js b/index.js index f3fb5c2..2009a93 100644 --- a/index.js +++ b/index.js @@ -2,7 +2,6 @@ import * as path from 'path'; import * as fs from 'fs'; const core = require('@actions/core'); -const github = require('@actions/github'); const httpm = require('@actions/http-client'); const tool_cache = require('@actions/tool-cache'); const exec = require('@actions/exec');