Skip to content
This repository was archived by the owner on Jun 16, 2022. It is now read-only.

Commit ac080a3

Browse files
authored
Merge pull request #6 from dsp-testing/lsep/new-dep-sub-toolkit
Upgrade to use updated dependency-submission-toolkit
2 parents ad917f2 + eb150d8 commit ac080a3

20 files changed

+10949
-2873
lines changed

.eslintrc.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"env": {
33
"browser": true,
4-
"es2021": true
4+
"es2021": true,
5+
"jest/globals": true
56
},
67
"extends": [
78
"standard"
@@ -12,7 +13,8 @@
1213
"sourceType": "module"
1314
},
1415
"plugins": [
15-
"@typescript-eslint"
16+
"@typescript-eslint",
17+
"jest"
1618
],
1719
"rules": {
1820
}

.github/workflows/go-action.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: Go Action detection of dependencies
22
on:
3-
push:
4-
branches:
5-
- main
3+
push
4+
65
jobs:
76
go-action-detection:
87
runs-on: ubuntu-latest
@@ -13,7 +12,7 @@ jobs:
1312
with:
1413
go-version: ">=1.18.0"
1514
- name: Run snapshot action
16-
uses: dsp-testing/go-snapshot-action@lsep/go-list-impl
15+
uses: dsp-testing/go-snapshot-action@main
1716
with:
1817
go-mod-path: go-example/go.mod
19-
go-build-target: go-example/cmd/octocat.go
18+
go-build-target: go-example/cmd/octocat.go

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717
- run: |
18-
npm install
18+
npm ci
1919
env:
2020
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
2121
- run: |

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"semi": false,
3+
"singleQuote": true,
4+
"tabWidth": 2,
5+
"trailingComma": "none",
6+
"useTabs": false
7+
}

action.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,6 @@ inputs:
66
description: "GitHub Personal Access Token (PAT). Defaults to PAT provided by Action runner"
77
required: false
88
default: ${{ github.token }}
9-
detector-name:
10-
required: false
11-
description: 'Name of the detector running the go action e.g. Go Snapshot Detector'
12-
default: 'Go Snapshot Action'
13-
detector-url:
14-
required: false
15-
description: 'URL of the detector running the go action e.g. http://github.com/dsp-testing/go-snapshot-action'
16-
default: 'http://github.com/dsp-testing/go-snapshot-action'
17-
detector-version:
18-
required: false
19-
description: 'Version of the detector running the go action e.g. 0.0.1'
20-
default: '0.0.1'
219
metadata:
2210
required: false
2311
description: 'User provided map of max key/value pairs of metadata to include with the snapshot e.g. {"lastModified": "12-31-2022"}'

0 commit comments

Comments
 (0)