mirror of
https://github.com/GoTestTools/gotestfmt-action.git
synced 2026-02-08 08:47:28 +00:00
Compare commits
17 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8b4478c701 | ||
|
|
ed11bda1c4 | ||
|
|
19aa3d4945 | ||
|
|
65f1d2228f | ||
|
|
ea487b2cee | ||
|
|
e110d38b81 | ||
|
|
eeb550eb95 | ||
|
|
fff0618065 | ||
|
|
88f47a96e9 | ||
|
|
d32893af0c | ||
|
|
b300c764ec | ||
|
|
031d228603 | ||
|
|
b1a16c9147 | ||
|
|
f64e47ecde | ||
|
|
5218c40f69 | ||
|
|
012723e406 | ||
|
|
5472be5c71 |
26 changed files with 97 additions and 58 deletions
29
.github/workflows/selftest.yml
vendored
29
.github/workflows/selftest.yml
vendored
|
|
@ -1,27 +1,42 @@
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
name: Self-test
|
name: Self-test
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
self-test:
|
self-test:
|
||||||
name: Self-test
|
strategy:
|
||||||
runs-on: ubuntu-latest
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: ['ubuntu', 'macos', 'windows']
|
||||||
|
|
||||||
|
name: on ${{ matrix.os }}
|
||||||
|
runs-on: ${{ matrix.os }}-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.16
|
go-version: 1.16
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install gotestfmt
|
- name: Install gotestfmt
|
||||||
uses: ./
|
uses: ./
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Run gotestfmt
|
- name: Run gotestfmt
|
||||||
working-directory: testdata
|
working-directory: testdata
|
||||||
run: go test -json -v ./... 2>&1 | tee /tmp/gotest.log | gotestfmt
|
shell: bash
|
||||||
|
run: |
|
||||||
|
go test -json -v ./... 2>&1 | tee gotest.${{ matrix.os }}.log | gotestfmt
|
||||||
|
|
||||||
- name: Upload test log
|
- name: Upload test log
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
name: test-log
|
name: test-log-${{ matrix.os }}
|
||||||
path: /tmp/gotest.log
|
path: testdata/gotest.${{ matrix.os }}.log
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
14
README.md
14
README.md
|
|
@ -1,8 +1,10 @@
|
||||||
# gotestfmt: go test output for humans
|
# gotestfmt: go test output for humans
|
||||||
|
|
||||||
This action uses [gotestfmt](https://github.com/haveyoudebuggedit/gotestfmt) to create a beautifully formatted test output in GitHub Actions.
|
> ā ļø **Action required:** gotestfmt has moved to the `GoTestTools` organization and you need to update your references. Please see the [announcement](https://github.com/GoTestTools/gotestfmt/discussions/46). The old repository will be deleted on January 1, 2023.
|
||||||
|
|
||||||

|
This action uses [gotestfmt](https://github.com/GoTestTools/gotestfmt) to create a beautifully formatted test output in GitHub Actions.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|
@ -26,21 +28,21 @@ jobs:
|
||||||
|
|
||||||
# Install gotestfmt on the VM running the action.
|
# Install gotestfmt on the VM running the action.
|
||||||
- name: Set up gotestfmt
|
- name: Set up gotestfmt
|
||||||
uses: haveyoudebuggedit/gotestfmt-action@v2
|
uses: GoTestTools/gotestfmt-action@v2
|
||||||
with:
|
with:
|
||||||
# Optional: pass GITHUB_TOKEN to avoid rate limiting.
|
# Optional: pass GITHUB_TOKEN to avoid rate limiting.
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# Optional: pass the gotestfmt version you want to run.
|
# Optional: pass the gotestfmt version you want to run.
|
||||||
version: v2.0.0
|
version: v2.0.0
|
||||||
# Optional: pass an organization name and repo to use a fork
|
# Optional: pass an organization name and repo to use a fork
|
||||||
org: haveyoudebuggedit
|
org: GoTestTools
|
||||||
repo: gotestfmt
|
repo: gotestfmt
|
||||||
|
|
||||||
# Run tests with nice formatting. Save the original log in /tmp/gotest.log
|
# Run tests with nice formatting. Save the original log in /tmp/gotest.log
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
go test -v ./... 2>&1 | tee /tmp/gotest.log | gotestfmt
|
go test -json -v ./... 2>&1 | tee /tmp/gotest.log | gotestfmt
|
||||||
|
|
||||||
# Upload the original go test log as an artifact for later review.
|
# Upload the original go test log as an artifact for later review.
|
||||||
- name: Upload test log
|
- name: Upload test log
|
||||||
|
|
@ -52,4 +54,4 @@ jobs:
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
```
|
```
|
||||||
|
|
||||||
For more information about gotestfmt please see the [gotestfmt](https://github.com/haveyoudebuggedit/gotestfmt) repository.
|
For more information about gotestfmt please see the [gotestfmt](https://github.com/GoTestTools/gotestfmt) repository.
|
||||||
|
|
|
||||||
|
|
@ -15,11 +15,11 @@ inputs:
|
||||||
org:
|
org:
|
||||||
description: 'Organization to fetch gotestfmt from.'
|
description: 'Organization to fetch gotestfmt from.'
|
||||||
required: false
|
required: false
|
||||||
default: 'haveyoudebuggedit'
|
default: 'GoTestTools'
|
||||||
repo:
|
repo:
|
||||||
description: 'Repository to fetch gotestfmt from.'
|
description: 'Repository to fetch gotestfmt from.'
|
||||||
required: false
|
required: false
|
||||||
default: 'gotestfmt'
|
default: 'gotestfmt'
|
||||||
runs:
|
runs:
|
||||||
using: 'node12'
|
using: 'node20'
|
||||||
main: 'index.js'
|
main: 'index.js'
|
||||||
|
|
|
||||||
56
index.js
56
index.js
|
|
@ -3,37 +3,44 @@ const { Octokit } = require("@octokit/rest");
|
||||||
const fs = require("fs")
|
const fs = require("fs")
|
||||||
const { execSync } = require("child_process")
|
const { execSync } = require("child_process")
|
||||||
|
|
||||||
async function downloadRelease(octokit, org, repo, release, token) {
|
async function downloadRelease(octokit, os, org, repo, release, token) {
|
||||||
|
const postfix = `_${os}_amd64.${os === "windows" ? "zip" : "tar.gz"}`;
|
||||||
|
const tempdir = os === "windows" ? process.env.TEMP + "\\" : "/tmp/";
|
||||||
|
const extract = os === "windows" ? "tar -xvf" : "tar -xvzf";
|
||||||
|
const archive = `${tempdir}gotestfmt${postfix}`;
|
||||||
const releaseAssets = await octokit.rest.repos.listReleaseAssets({
|
const releaseAssets = await octokit.rest.repos.listReleaseAssets({
|
||||||
owner: org,
|
owner: org,
|
||||||
repo: repo,
|
repo: repo,
|
||||||
release_id: release.id,
|
release_id: release.id,
|
||||||
})
|
})
|
||||||
|
|
||||||
for (let asset of releaseAssets.data) {
|
for (let asset of releaseAssets.data) {
|
||||||
console.log("Examining release asset " + asset.name + " at " + asset.browser_download_url + " ...")
|
console.log("Examining release asset " + asset.name + " at " + asset.browser_download_url + " ...")
|
||||||
if (asset.name.endsWith("_linux_amd64.tar.gz")) {
|
if (asset.name.endsWith(postfix)) {
|
||||||
console.log("Found Linux binary named " + asset.name + " at " + asset.browser_download_url + " , attempting download...")
|
console.log("Found binary named " + asset.name + " at " + asset.browser_download_url + " , attempting download...")
|
||||||
if (token) {
|
if (token) {
|
||||||
execSync("curl -L -o /tmp/gotestfmt.tar.gz -H \"Authorization: Bearer " + token + "\" " + asset.browser_download_url)
|
execSync(`curl -L -o ${archive} -H "Authorization: Bearer ${token}" ${asset.browser_download_url}`)
|
||||||
} else {
|
} else {
|
||||||
execSync("curl -L -o /tmp/gotestfmt.tar.gz " + asset.browser_download_url)
|
execSync(`curl -L -o ${archive} ${asset.browser_download_url}`)
|
||||||
}
|
}
|
||||||
console.log("Creating /usr/local/lib/gotestfmt directory...")
|
|
||||||
execSync("sudo mkdir -p /usr/local/lib/gotestfmt")
|
console.log("Unpacking archive file...")
|
||||||
console.log("Unpacking tar file...")
|
core.addPath(process.env.GITHUB_WORKSPACE)
|
||||||
execSync("cd /usr/local/lib/gotestfmt && sudo tar -xvzf /tmp/gotestfmt.tar.gz")
|
process.chdir(process.env.GITHUB_WORKSPACE)
|
||||||
console.log("Removing tarball...")
|
execSync(`${extract} "${archive}"`)
|
||||||
fs.unlinkSync("/tmp/gotestfmt.tar.gz")
|
|
||||||
console.log("Linking gotestfmt...")
|
console.log("Removing asset archive...")
|
||||||
execSync("sudo ln -s /usr/local/lib/gotestfmt/gotestfmt /usr/bin/gotestfmt")
|
fs.unlinkSync(archive)
|
||||||
|
|
||||||
console.log("Successfully set up gotestfmt.")
|
console.log("Successfully set up gotestfmt.")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
throw "No release asset matched criteria."
|
|
||||||
|
throw `No release asset matched postfix '${postfix}'.`
|
||||||
}
|
}
|
||||||
|
|
||||||
async function downloadGofmt(octokit, version, versionPrefix, org, repo, token) {
|
async function downloadGofmt(octokit, version, versionPrefix, os, org, repo, token) {
|
||||||
if (version !== "") {
|
if (version !== "") {
|
||||||
if (!version.startsWith(versionPrefix)) {
|
if (!version.startsWith(versionPrefix)) {
|
||||||
throw "Specified version " + version + " does not start with required version prefix " + versionPrefix + "."
|
throw "Specified version " + version + " does not start with required version prefix " + versionPrefix + "."
|
||||||
|
|
@ -53,7 +60,7 @@ async function downloadGofmt(octokit, version, versionPrefix, org, repo, token)
|
||||||
if ((version !== "" && release.name === version) || (!release.prerelease && release.name.startsWith(versionPrefix))) {
|
if ((version !== "" && release.name === version) || (!release.prerelease && release.name.startsWith(versionPrefix))) {
|
||||||
console.log("Found release " + release.name + " matching criteria, attempting to download binary...")
|
console.log("Found release " + release.name + " matching criteria, attempting to download binary...")
|
||||||
try {
|
try {
|
||||||
await downloadRelease(octokit, org, repo, release, token)
|
await downloadRelease(octokit, os, org, repo, release, token)
|
||||||
return
|
return
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
tries++
|
tries++
|
||||||
|
|
@ -69,6 +76,20 @@ async function downloadGofmt(octokit, version, versionPrefix, org, repo, token)
|
||||||
throw "Failed to find a release matching the criteria."
|
throw "Failed to find a release matching the criteria."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async function determineOS() {
|
||||||
|
const uname = execSync("uname")
|
||||||
|
|
||||||
|
let os = uname.toString().trim().toLowerCase()
|
||||||
|
if (os.indexOf("msys_nt") === 0)
|
||||||
|
{
|
||||||
|
os = "windows";
|
||||||
|
}
|
||||||
|
|
||||||
|
console.log(`Running on OS '${os}'`)
|
||||||
|
|
||||||
|
return os
|
||||||
|
}
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
try {
|
try {
|
||||||
// versionPrefix is the prefix of the version gotestfmt-action supports.
|
// versionPrefix is the prefix of the version gotestfmt-action supports.
|
||||||
|
|
@ -80,7 +101,8 @@ async function main() {
|
||||||
const octokit = new Octokit({
|
const octokit = new Octokit({
|
||||||
auth: token,
|
auth: token,
|
||||||
})
|
})
|
||||||
await downloadGofmt(octokit, version, versionPrefix, org, repo, token)
|
const os = await determineOS()
|
||||||
|
await downloadGofmt(octokit, version, versionPrefix, os, org, repo, token)
|
||||||
console.log("Setup complete.")
|
console.log("Setup complete.")
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log("Setup failed.")
|
console.log("Setup failed.")
|
||||||
|
|
|
||||||
2
node_modules/@actions/core/package.json
generated
vendored
2
node_modules/@actions/core/package.json
generated
vendored
|
|
@ -23,7 +23,7 @@
|
||||||
"_resolved": "https://registry.npmjs.org/@actions/core/-/core-1.4.0.tgz",
|
"_resolved": "https://registry.npmjs.org/@actions/core/-/core-1.4.0.tgz",
|
||||||
"_shasum": "cf2e6ee317e314b03886adfeb20e448d50d6e524",
|
"_shasum": "cf2e6ee317e314b03886adfeb20e448d50d6e524",
|
||||||
"_spec": "@actions/core",
|
"_spec": "@actions/core",
|
||||||
"_where": "D:\\go\\src\\github.com\\haveyoudebuggedit\\gotestfmt-action",
|
"_where": "D:\\go\\src\\github.com\\gotesttools\\gotestfmt-action",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/actions/toolkit/issues"
|
"url": "https://github.com/actions/toolkit/issues"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
2
node_modules/@actions/github/package.json
generated
vendored
2
node_modules/@actions/github/package.json
generated
vendored
|
|
@ -23,7 +23,7 @@
|
||||||
"_resolved": "https://registry.npmjs.org/@actions/github/-/github-5.0.0.tgz",
|
"_resolved": "https://registry.npmjs.org/@actions/github/-/github-5.0.0.tgz",
|
||||||
"_shasum": "1754127976c50bd88b2e905f10d204d76d1472f8",
|
"_shasum": "1754127976c50bd88b2e905f10d204d76d1472f8",
|
||||||
"_spec": "@actions/github",
|
"_spec": "@actions/github",
|
||||||
"_where": "D:\\go\\src\\github.com\\haveyoudebuggedit\\gotestfmt-action",
|
"_where": "D:\\go\\src\\github.com\\gotesttools\\gotestfmt-action",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/actions/toolkit/issues"
|
"url": "https://github.com/actions/toolkit/issues"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
2
node_modules/@actions/http-client/package.json
generated
vendored
2
node_modules/@actions/http-client/package.json
generated
vendored
|
|
@ -22,7 +22,7 @@
|
||||||
"_resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.11.tgz",
|
"_resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.11.tgz",
|
||||||
"_shasum": "c58b12e9aa8b159ee39e7dd6cbd0e91d905633c0",
|
"_shasum": "c58b12e9aa8b159ee39e7dd6cbd0e91d905633c0",
|
||||||
"_spec": "@actions/http-client@^1.0.11",
|
"_spec": "@actions/http-client@^1.0.11",
|
||||||
"_where": "D:\\go\\src\\github.com\\haveyoudebuggedit\\gotestfmt-action\\node_modules\\@actions\\github",
|
"_where": "D:\\go\\src\\github.com\\gotesttools\\gotestfmt-action\\node_modules\\@actions\\github",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "GitHub, Inc."
|
"name": "GitHub, Inc."
|
||||||
},
|
},
|
||||||
|
|
|
||||||
2
node_modules/@octokit/auth-token/package.json
generated
vendored
2
node_modules/@octokit/auth-token/package.json
generated
vendored
|
|
@ -22,7 +22,7 @@
|
||||||
"_resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.5.tgz",
|
"_resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.5.tgz",
|
||||||
"_shasum": "568ccfb8cb46f36441fac094ce34f7a875b197f3",
|
"_shasum": "568ccfb8cb46f36441fac094ce34f7a875b197f3",
|
||||||
"_spec": "@octokit/auth-token@^2.4.4",
|
"_spec": "@octokit/auth-token@^2.4.4",
|
||||||
"_where": "D:\\go\\src\\github.com\\haveyoudebuggedit\\gotestfmt-action\\node_modules\\@octokit\\core",
|
"_where": "D:\\go\\src\\github.com\\gotesttools\\gotestfmt-action\\node_modules\\@octokit\\core",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/octokit/auth-token.js/issues"
|
"url": "https://github.com/octokit/auth-token.js/issues"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
2
node_modules/@octokit/core/package.json
generated
vendored
2
node_modules/@octokit/core/package.json
generated
vendored
|
|
@ -22,7 +22,7 @@
|
||||||
"_resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.5.1.tgz",
|
"_resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.5.1.tgz",
|
||||||
"_shasum": "8601ceeb1ec0e1b1b8217b960a413ed8e947809b",
|
"_shasum": "8601ceeb1ec0e1b1b8217b960a413ed8e947809b",
|
||||||
"_spec": "@octokit/core@^3.4.0",
|
"_spec": "@octokit/core@^3.4.0",
|
||||||
"_where": "D:\\go\\src\\github.com\\haveyoudebuggedit\\gotestfmt-action\\node_modules\\@actions\\github",
|
"_where": "D:\\go\\src\\github.com\\gotesttools\\gotestfmt-action\\node_modules\\@actions\\github",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/octokit/core.js/issues"
|
"url": "https://github.com/octokit/core.js/issues"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
2
node_modules/@octokit/endpoint/package.json
generated
vendored
2
node_modules/@octokit/endpoint/package.json
generated
vendored
|
|
@ -22,7 +22,7 @@
|
||||||
"_resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz",
|
"_resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz",
|
||||||
"_shasum": "3b4d47a4b0e79b1027fb8d75d4221928b2d05658",
|
"_shasum": "3b4d47a4b0e79b1027fb8d75d4221928b2d05658",
|
||||||
"_spec": "@octokit/endpoint@^6.0.1",
|
"_spec": "@octokit/endpoint@^6.0.1",
|
||||||
"_where": "D:\\go\\src\\github.com\\haveyoudebuggedit\\gotestfmt-action\\node_modules\\@octokit\\request",
|
"_where": "D:\\go\\src\\github.com\\gotesttools\\gotestfmt-action\\node_modules\\@octokit\\request",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/octokit/endpoint.js/issues"
|
"url": "https://github.com/octokit/endpoint.js/issues"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
2
node_modules/@octokit/graphql/package.json
generated
vendored
2
node_modules/@octokit/graphql/package.json
generated
vendored
|
|
@ -22,7 +22,7 @@
|
||||||
"_resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.6.4.tgz",
|
"_resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.6.4.tgz",
|
||||||
"_shasum": "0c3f5bed440822182e972317122acb65d311a5ed",
|
"_shasum": "0c3f5bed440822182e972317122acb65d311a5ed",
|
||||||
"_spec": "@octokit/graphql@^4.5.8",
|
"_spec": "@octokit/graphql@^4.5.8",
|
||||||
"_where": "D:\\go\\src\\github.com\\haveyoudebuggedit\\gotestfmt-action\\node_modules\\@octokit\\core",
|
"_where": "D:\\go\\src\\github.com\\gotesttools\\gotestfmt-action\\node_modules\\@octokit\\core",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/octokit/graphql.js/issues"
|
"url": "https://github.com/octokit/graphql.js/issues"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
2
node_modules/@octokit/openapi-types/package.json
generated
vendored
2
node_modules/@octokit/openapi-types/package.json
generated
vendored
|
|
@ -22,7 +22,7 @@
|
||||||
"_resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-9.1.1.tgz",
|
"_resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-9.1.1.tgz",
|
||||||
"_shasum": "fb87f2e2f44b95a5720d61dee409a9f1fbc59217",
|
"_shasum": "fb87f2e2f44b95a5720d61dee409a9f1fbc59217",
|
||||||
"_spec": "@octokit/openapi-types@^9.1.1",
|
"_spec": "@octokit/openapi-types@^9.1.1",
|
||||||
"_where": "D:\\go\\src\\github.com\\haveyoudebuggedit\\gotestfmt-action\\node_modules\\@octokit\\types",
|
"_where": "D:\\go\\src\\github.com\\gotesttools\\gotestfmt-action\\node_modules\\@octokit\\types",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Gregor Martynus",
|
"name": "Gregor Martynus",
|
||||||
"url": "https://twitter.com/gr2m"
|
"url": "https://twitter.com/gr2m"
|
||||||
|
|
|
||||||
2
node_modules/@octokit/plugin-paginate-rest/package.json
generated
vendored
2
node_modules/@octokit/plugin-paginate-rest/package.json
generated
vendored
|
|
@ -22,7 +22,7 @@
|
||||||
"_resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.14.0.tgz",
|
"_resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.14.0.tgz",
|
||||||
"_shasum": "f469cb4a908792fb44679c5973d8bba820c88b0f",
|
"_shasum": "f469cb4a908792fb44679c5973d8bba820c88b0f",
|
||||||
"_spec": "@octokit/plugin-paginate-rest@^2.13.3",
|
"_spec": "@octokit/plugin-paginate-rest@^2.13.3",
|
||||||
"_where": "D:\\go\\src\\github.com\\haveyoudebuggedit\\gotestfmt-action\\node_modules\\@actions\\github",
|
"_where": "D:\\go\\src\\github.com\\gotesttools\\gotestfmt-action\\node_modules\\@actions\\github",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/octokit/plugin-paginate-rest.js/issues"
|
"url": "https://github.com/octokit/plugin-paginate-rest.js/issues"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
2
node_modules/@octokit/plugin-request-log/package.json
generated
vendored
2
node_modules/@octokit/plugin-request-log/package.json
generated
vendored
|
|
@ -22,7 +22,7 @@
|
||||||
"_resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz",
|
"_resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz",
|
||||||
"_shasum": "5e50ed7083a613816b1e4a28aeec5fb7f1462e85",
|
"_shasum": "5e50ed7083a613816b1e4a28aeec5fb7f1462e85",
|
||||||
"_spec": "@octokit/plugin-request-log@^1.0.2",
|
"_spec": "@octokit/plugin-request-log@^1.0.2",
|
||||||
"_where": "D:\\go\\src\\github.com\\haveyoudebuggedit\\gotestfmt-action\\node_modules\\@octokit\\rest",
|
"_where": "D:\\go\\src\\github.com\\gotesttools\\gotestfmt-action\\node_modules\\@octokit\\rest",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/octokit/plugin-request-log.js/issues"
|
"url": "https://github.com/octokit/plugin-request-log.js/issues"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
2
node_modules/@octokit/plugin-rest-endpoint-methods/package.json
generated
vendored
2
node_modules/@octokit/plugin-rest-endpoint-methods/package.json
generated
vendored
|
|
@ -22,7 +22,7 @@
|
||||||
"_resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.5.1.tgz",
|
"_resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.5.1.tgz",
|
||||||
"_shasum": "31cce8fc3eda4d186bd90828cb7a2203ad95e3d1",
|
"_shasum": "31cce8fc3eda4d186bd90828cb7a2203ad95e3d1",
|
||||||
"_spec": "@octokit/plugin-rest-endpoint-methods@^5.1.1",
|
"_spec": "@octokit/plugin-rest-endpoint-methods@^5.1.1",
|
||||||
"_where": "D:\\go\\src\\github.com\\haveyoudebuggedit\\gotestfmt-action\\node_modules\\@actions\\github",
|
"_where": "D:\\go\\src\\github.com\\gotesttools\\gotestfmt-action\\node_modules\\@actions\\github",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/octokit/plugin-rest-endpoint-methods.js/issues"
|
"url": "https://github.com/octokit/plugin-rest-endpoint-methods.js/issues"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
2
node_modules/@octokit/request-error/package.json
generated
vendored
2
node_modules/@octokit/request-error/package.json
generated
vendored
|
|
@ -23,7 +23,7 @@
|
||||||
"_resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz",
|
"_resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz",
|
||||||
"_shasum": "9e150357831bfc788d13a4fd4b1913d60c74d677",
|
"_shasum": "9e150357831bfc788d13a4fd4b1913d60c74d677",
|
||||||
"_spec": "@octokit/request-error@^2.0.5",
|
"_spec": "@octokit/request-error@^2.0.5",
|
||||||
"_where": "D:\\go\\src\\github.com\\haveyoudebuggedit\\gotestfmt-action\\node_modules\\@octokit\\core",
|
"_where": "D:\\go\\src\\github.com\\gotesttools\\gotestfmt-action\\node_modules\\@octokit\\core",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/octokit/request-error.js/issues"
|
"url": "https://github.com/octokit/request-error.js/issues"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
2
node_modules/@octokit/request/package.json
generated
vendored
2
node_modules/@octokit/request/package.json
generated
vendored
|
|
@ -23,7 +23,7 @@
|
||||||
"_resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.0.tgz",
|
"_resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.0.tgz",
|
||||||
"_shasum": "6084861b6e4fa21dc40c8e2a739ec5eff597e672",
|
"_shasum": "6084861b6e4fa21dc40c8e2a739ec5eff597e672",
|
||||||
"_spec": "@octokit/request@^5.6.0",
|
"_spec": "@octokit/request@^5.6.0",
|
||||||
"_where": "D:\\go\\src\\github.com\\haveyoudebuggedit\\gotestfmt-action\\node_modules\\@octokit\\core",
|
"_where": "D:\\go\\src\\github.com\\gotesttools\\gotestfmt-action\\node_modules\\@octokit\\core",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/octokit/request.js/issues"
|
"url": "https://github.com/octokit/request.js/issues"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
2
node_modules/@octokit/rest/package.json
generated
vendored
2
node_modules/@octokit/rest/package.json
generated
vendored
|
|
@ -23,7 +23,7 @@
|
||||||
"_resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-18.7.1.tgz",
|
"_resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-18.7.1.tgz",
|
||||||
"_shasum": "575ecf8b881b79540daa28b0fa3a2b3ae8ef2649",
|
"_shasum": "575ecf8b881b79540daa28b0fa3a2b3ae8ef2649",
|
||||||
"_spec": "@octokit/rest",
|
"_spec": "@octokit/rest",
|
||||||
"_where": "D:\\go\\src\\github.com\\haveyoudebuggedit\\gotestfmt-action",
|
"_where": "D:\\go\\src\\github.com\\gotesttools\\gotestfmt-action",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/octokit/rest.js/issues"
|
"url": "https://github.com/octokit/rest.js/issues"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
2
node_modules/@octokit/types/package.json
generated
vendored
2
node_modules/@octokit/types/package.json
generated
vendored
|
|
@ -29,7 +29,7 @@
|
||||||
"_resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.21.1.tgz",
|
"_resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.21.1.tgz",
|
||||||
"_shasum": "d0f2b7598c88e13d0bd87e330d975e3fb2a90180",
|
"_shasum": "d0f2b7598c88e13d0bd87e330d975e3fb2a90180",
|
||||||
"_spec": "@octokit/types@^6.0.3",
|
"_spec": "@octokit/types@^6.0.3",
|
||||||
"_where": "D:\\go\\src\\github.com\\haveyoudebuggedit\\gotestfmt-action\\node_modules\\@octokit\\core",
|
"_where": "D:\\go\\src\\github.com\\gotesttools\\gotestfmt-action\\node_modules\\@octokit\\core",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/octokit/types.ts/issues"
|
"url": "https://github.com/octokit/types.ts/issues"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
2
node_modules/before-after-hook/package.json
generated
vendored
2
node_modules/before-after-hook/package.json
generated
vendored
|
|
@ -21,7 +21,7 @@
|
||||||
"_resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.2.tgz",
|
"_resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.2.tgz",
|
||||||
"_shasum": "a6e8ca41028d90ee2c24222f201c90956091613e",
|
"_shasum": "a6e8ca41028d90ee2c24222f201c90956091613e",
|
||||||
"_spec": "before-after-hook@^2.2.0",
|
"_spec": "before-after-hook@^2.2.0",
|
||||||
"_where": "D:\\go\\src\\github.com\\haveyoudebuggedit\\gotestfmt-action\\node_modules\\@octokit\\core",
|
"_where": "D:\\go\\src\\github.com\\gotesttools\\gotestfmt-action\\node_modules\\@octokit\\core",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Gregor Martynus"
|
"name": "Gregor Martynus"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
2
node_modules/deprecation/package.json
generated
vendored
2
node_modules/deprecation/package.json
generated
vendored
|
|
@ -22,7 +22,7 @@
|
||||||
"_resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz",
|
"_resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz",
|
||||||
"_shasum": "6368cbdb40abf3373b525ac87e4a260c3a700919",
|
"_shasum": "6368cbdb40abf3373b525ac87e4a260c3a700919",
|
||||||
"_spec": "deprecation@^2.0.0",
|
"_spec": "deprecation@^2.0.0",
|
||||||
"_where": "D:\\go\\src\\github.com\\haveyoudebuggedit\\gotestfmt-action\\node_modules\\@octokit\\request-error",
|
"_where": "D:\\go\\src\\github.com\\gotesttools\\gotestfmt-action\\node_modules\\@octokit\\request-error",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/gr2m/deprecation/issues"
|
"url": "https://github.com/gr2m/deprecation/issues"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
2
node_modules/is-plain-object/package.json
generated
vendored
2
node_modules/is-plain-object/package.json
generated
vendored
|
|
@ -22,7 +22,7 @@
|
||||||
"_resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
|
"_resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
|
||||||
"_shasum": "4427f50ab3429e9025ea7d52e9043a9ef4159344",
|
"_shasum": "4427f50ab3429e9025ea7d52e9043a9ef4159344",
|
||||||
"_spec": "is-plain-object@^5.0.0",
|
"_spec": "is-plain-object@^5.0.0",
|
||||||
"_where": "D:\\go\\src\\github.com\\haveyoudebuggedit\\gotestfmt-action\\node_modules\\@octokit\\request",
|
"_where": "D:\\go\\src\\github.com\\gotesttools\\gotestfmt-action\\node_modules\\@octokit\\request",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Jon Schlinkert",
|
"name": "Jon Schlinkert",
|
||||||
"url": "https://github.com/jonschlinkert"
|
"url": "https://github.com/jonschlinkert"
|
||||||
|
|
|
||||||
2
node_modules/universal-user-agent/package.json
generated
vendored
2
node_modules/universal-user-agent/package.json
generated
vendored
|
|
@ -24,7 +24,7 @@
|
||||||
"_resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz",
|
"_resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz",
|
||||||
"_shasum": "3381f8503b251c0d9cd21bc1de939ec9df5480ee",
|
"_shasum": "3381f8503b251c0d9cd21bc1de939ec9df5480ee",
|
||||||
"_spec": "universal-user-agent@^6.0.0",
|
"_spec": "universal-user-agent@^6.0.0",
|
||||||
"_where": "D:\\go\\src\\github.com\\haveyoudebuggedit\\gotestfmt-action\\node_modules\\@octokit\\core",
|
"_where": "D:\\go\\src\\github.com\\gotesttools\\gotestfmt-action\\node_modules\\@octokit\\core",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/gr2m/universal-user-agent/issues"
|
"url": "https://github.com/gr2m/universal-user-agent/issues"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
2
package-lock.json
generated
2
package-lock.json
generated
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "@haveyoudebuggedit/gotestfmt-action",
|
"name": "@gotesttools/gotestfmt-action",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,17 @@
|
||||||
{
|
{
|
||||||
"name": "@haveyoudebuggedit/gotestfmt-action",
|
"name": "@gotesttools/gotestfmt-action",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/haveyoudebuggedit/gotestfmt-action.git"
|
"url": "git+https://github.com/gotesttools/gotestfmt-action.git"
|
||||||
},
|
},
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/haveyoudebuggedit/gotestfmt-action/issues"
|
"url": "https://github.com/gotesttools/gotestfmt-action/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/haveyoudebuggedit/gotestfmt-action#readme",
|
"homepage": "https://github.com/gotesttools/gotestfmt-action#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.4.0",
|
"@actions/core": "^1.4.0",
|
||||||
"@actions/github": "^5.0.0",
|
"@actions/github": "^5.0.0",
|
||||||
|
|
|
||||||
2
testdata/go.mod
vendored
2
testdata/go.mod
vendored
|
|
@ -1,3 +1,3 @@
|
||||||
module "github.com/haveyoudebuggedit/example"
|
module "github.com/gotesttools/example"
|
||||||
|
|
||||||
go 1.16
|
go 1.16
|
||||||
Loadingā¦
Reference in a new issue