From 55c688fd955430695c3600057ff182235ccde455 Mon Sep 17 00:00:00 2001 From: ICHINOSE Shogo Date: Mon, 5 Feb 2024 16:38:06 +0900 Subject: [PATCH 1/3] bump Node.js 20 --- .github/workflows/test.yml | 2 +- action.yml | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4c02acf..0310864 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: - name: Set Node.js uses: actions/setup-node@v4 with: - node-version: 16.x + node-version: 20.x - name: Set up Go uses: actions/setup-go@v5 diff --git a/action.yml b/action.yml index a8f4470..5f76974 100644 --- a/action.yml +++ b/action.yml @@ -1,15 +1,15 @@ -name: 'actions-goveralls' -description: 'Coveralls GitHub Action with Go integration powered by mattn/goveralls' -author: 'ICHINOSE Shogo' +name: "actions-goveralls" +description: "Coveralls GitHub Action with Go integration powered by mattn/goveralls" +author: "ICHINOSE Shogo" inputs: github-token: description: Coveralls uses this token to verify the posted coverage data on the repo and create a new check based on the results. required: true - default: '${{ github.token }}' + default: "${{ github.token }}" path-to-profile: description: a path to your cover profile. required: false - default: '' + default: "" parallel: description: 'Set to true if you are running parallel jobs, then use "parallel_finished: true" for the last action.' required: false @@ -21,29 +21,29 @@ inputs: job-number: description: "job number (DEPRECATED)" required: false - default: '${{ strategy.job-index }}' + default: "${{ strategy.job-index }}" deprecationMessage: "use flag-name instead" flag-name: description: 'Job flag name, e.g. "Unit", "Functional", or "Integration". Will be shown in the Coveralls UI.' required: false - default: '${{ strategy.job-index }}' + default: "${{ strategy.job-index }}" working-directory: description: "working directory" required: false - default: '.' + default: "." ignore: description: Comma separated files to ignore required: false - default: '' + default: "" shallow: description: Shallow coveralls internal server errors required: false default: false runs: - using: 'node16' - main: 'lib/main.js' + using: "node20" + main: "lib/main.js" branding: - color: 'green' - icon: 'percent' + color: "green" + icon: "percent" From e785d41d45dcb14174ee5b8d3f92db360ad75eb1 Mon Sep 17 00:00:00 2001 From: ICHINOSE Shogo Date: Mon, 5 Feb 2024 16:40:08 +0900 Subject: [PATCH 2/3] bump Go 1.21.6 --- go.mod | 2 +- run-in-docker.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index a3d78b4..eb2f6d4 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/shogo82148/actions-goveralls -go 1.20 +go 1.21.6 require github.com/mattn/goveralls v0.0.12 diff --git a/run-in-docker.sh b/run-in-docker.sh index 7c2ad5b..9e9773c 100755 --- a/run-in-docker.sh +++ b/run-in-docker.sh @@ -8,4 +8,4 @@ docker run --rm \ -v actions-goveralls-cache:/go/pkg/mod \ -v actions-goveralls-cache:/root/.cache \ -v "$CURRENT":/go/src/github.com/shogo82148/actions-goveralls \ - -w /go/src/github.com/shogo82148/actions-goveralls golang:1.21.0 "$@" + -w /go/src/github.com/shogo82148/actions-goveralls golang:1.21.6 "$@" From 57082554aa85a827f2a95577f7687d3c8f6d4702 Mon Sep 17 00:00:00 2001 From: ICHINOSE Shogo Date: Mon, 5 Feb 2024 16:57:40 +0900 Subject: [PATCH 3/3] bump semver v6.3.1 --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 00570b6..ccadbab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3316,9 +3316,9 @@ } }, "node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -6334,9 +6334,9 @@ "dev": true }, "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true }, "shebang-command": {