diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e0937e6..4f78db6 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" 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/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": { 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 "$@"