Compare commits

...

188 Commits

Author SHA1 Message Date
537aa1903e Expire cache periodically to avoid unbounded size (#466)
* Expire cache periodically to avoid unbounded size

The cache key includes a sequence number that rotates every 7 days
but because we are also using the base `golangci-lint.cache` as a
restore key, the new cache will always be seeded with the full
contents of the old cache.

In particular for the go module cache, this leads to an ever
increasing number of cached packages that never get pruned.

This commit updates it so we stop using `golangci-lint.cache` as
a restore key, which will force a build from an empty cache once
every 7 days.

* Rebuild files in dist/
2022-05-10 21:30:26 -07:00
f70e52dcc9 build(deps): bump @actions/core from 1.6.0 to 1.8.0 (#468)
* build(deps): bump @actions/core from 1.6.0 to 1.8.0

Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.6.0 to 1.8.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update dist

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergey Vilgelm <sergey@vilgelm.com>
2022-05-10 21:21:05 -07:00
a304692ecb build(deps-dev): bump @typescript-eslint/eslint-plugin (#469) 2022-05-09 13:42:25 +02:00
eeca7c5026 build(deps-dev): bump eslint from 8.14.0 to 8.15.0 (#467) 2022-05-09 13:42:11 +02:00
dfbcd2aee1 build(deps): bump github/codeql-action from 1 to 2 (#459) 2022-05-03 08:17:26 +02:00
4421331437 build(deps-dev): bump @typescript-eslint/parser from 5.20.0 to 5.22.0 (#464)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.20.0 to 5.22.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.22.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-03 08:55:43 +03:00
5e6c1bb9e2 build(deps-dev): bump typescript from 4.6.3 to 4.6.4 (#461)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.3 to 4.6.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.3...v4.6.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-03 08:54:50 +03:00
44eba43bae build(deps-dev): bump @typescript-eslint/eslint-plugin (#460)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.20.0 to 5.21.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.21.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-03 08:47:28 +03:00
358a5e374f build(deps-dev): bump @typescript-eslint/eslint-plugin (#457)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.19.0 to 5.20.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.20.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 14:57:58 +03:00
b9c65a53a1 build(deps-dev): bump @typescript-eslint/parser from 5.19.0 to 5.20.0 (#455) 2022-04-25 09:48:00 +00:00
9620ff9416 build(deps-dev): bump eslint from 8.13.0 to 8.14.0 (#456) 2022-04-25 09:42:02 +00:00
f973c7630e build(deps): bump @actions/cache from 2.0.0 to 2.0.2 (#447)
* build(deps): bump @actions/cache from 2.0.0 to 2.0.2

Bumps [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/cache/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/cache)

---
updated-dependencies:
- dependency-name: "@actions/cache"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update dist

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergey Vilgelm <sergey@vilgelm.com>
2022-04-18 06:46:26 -07:00
ac76264da2 build(deps-dev): bump @typescript-eslint/parser from 5.18.0 to 5.19.0 (#454)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.18.0 to 5.19.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.19.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 06:34:32 -07:00
b6b896c763 build(deps-dev): bump @typescript-eslint/eslint-plugin (#453)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.18.0 to 5.19.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.19.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 16:26:53 +03:00
6d7c5c3914 build(deps-dev): bump @vercel/ncc from 0.33.3 to 0.33.4 (#452)
Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.33.3 to 0.33.4.
- [Release notes](https://github.com/vercel/ncc/releases)
- [Commits](https://github.com/vercel/ncc/compare/0.33.3...0.33.4)

---
updated-dependencies:
- dependency-name: "@vercel/ncc"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 16:26:15 +03:00
df2c66cf29 modify examples using setup-go (#451) 2022-04-15 06:38:11 -07:00
f9d718302d docs: update version to v3 (#450) 2022-04-13 15:25:12 -07:00
c3ef0c3702 build(deps): bump actions/setup-go from 2 to 3 (#443)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 09:13:50 -04:00
e498e7736a build(deps-dev): bump eslint from 8.12.0 to 8.13.0 (#446) 2022-04-11 12:14:08 +02:00
e1674c1af9 build(deps-dev): bump @typescript-eslint/parser from 5.17.0 to 5.18.0 (#445) 2022-04-11 12:13:56 +02:00
f233bcb89a build(deps-dev): bump eslint-plugin-import from 2.25.4 to 2.26.0 (#444) 2022-04-11 12:13:41 +02:00
4b237a63e5 build(deps-dev): bump @typescript-eslint/eslint-plugin (#441)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.16.0 to 5.18.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.18.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 11:35:32 -07:00
af9f6d8b8e build(deps-dev): bump @typescript-eslint/parser from 5.16.0 to 5.17.0 (#438)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.16.0 to 5.17.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.17.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 11:25:01 -07:00
fb6358de51 build(deps): bump @actions/github from 5.0.0 to 5.0.1 (#437)
Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github)

---
updated-dependencies:
- dependency-name: "@actions/github"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 11:24:34 -07:00
226c5fce6f build(deps-dev): bump prettier from 2.6.1 to 2.6.2 (#436)
Bumps [prettier](https://github.com/prettier/prettier) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.6.1...2.6.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 11:24:11 -07:00
009d23987c build(deps): bump @actions/cache from 1.0.10 to 2.0.0 (#432)
* build(deps): bump @actions/cache from 1.0.10 to 2.0.0

Bumps [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache) from 1.0.10 to 2.0.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/cache/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/cache)

---
updated-dependencies:
- dependency-name: "@actions/cache"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* build dist

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergey Vilgelm <sergey@vilgelm.com>
2022-03-28 07:43:30 -07:00
6f887e018c build(deps-dev): bump typescript from 4.6.2 to 4.6.3 (#429)
* build(deps-dev): bump typescript from 4.6.2 to 4.6.3

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.2 to 4.6.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.2...v4.6.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* build dist

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergey Vilgelm <sergey@vilgelm.com>
2022-03-28 07:34:08 -07:00
5af63786ee build(deps-dev): bump prettier from 2.6.0 to 2.6.1 (#428)
Bumps [prettier](https://github.com/prettier/prettier) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.6.0...2.6.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 07:25:32 -07:00
128458b745 build(deps): bump minimist from 1.2.5 to 1.2.6 (#427)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-26 19:19:03 +03:00
ca6bec4c75 build(deps): bump @actions/exec from 1.1.0 to 1.1.1 (#424) 2022-03-21 11:36:28 +01:00
042a8136fa build(deps-dev): bump @typescript-eslint/eslint-plugin (#425) 2022-03-21 10:58:28 +01:00
827c06dc36 build(deps): bump @actions/tool-cache from 1.7.1 to 1.7.2 (#426) 2022-03-21 10:58:15 +01:00
0105abc295 build(deps): bump @actions/cache from 1.0.9 to 1.0.10 (#423) 2022-03-21 10:57:35 +01:00
eb940f762b build(deps-dev): bump prettier from 2.5.1 to 2.6.0 (#422) 2022-03-21 10:57:18 +01:00
f9482e011a build(deps-dev): bump @typescript-eslint/parser from 5.14.0 to 5.15.0 (#421) 2022-03-21 10:45:34 +01:00
1e52a5d65c build(deps-dev): bump eslint from 8.10.0 to 8.11.0 (#418)
Bumps [eslint](https://github.com/eslint/eslint) from 8.10.0 to 8.11.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.10.0...v8.11.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 13:31:07 +03:00
2a74a2a5c4 build(deps-dev): bump typescript from 4.5.5 to 4.6.2 (#413)
* build(deps-dev): bump typescript from 4.5.5 to 4.6.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.5 to 4.6.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.5...v4.6.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update dist

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergey Vilgelm <sergey@vilgelm.com>
2022-03-07 11:25:21 -08:00
6ab5ae85b2 build(deps-dev): bump eslint-config-prettier from 8.4.0 to 8.5.0 (#412)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.4.0 to 8.5.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.4.0...v8.5.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 11:08:45 -08:00
024aa36e22 build(deps-dev): bump @typescript-eslint/parser from 5.12.1 to 5.13.0 (#410)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.12.1 to 5.13.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.13.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 11:02:49 -08:00
f6cb2006aa build(deps): bump actions/checkout from 2 to 3 (#409)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 11:01:50 -08:00
b517f99ae2 fix version in package-lock.json (#407) 2022-02-26 09:03:13 -08:00
9636c5bc97 Update version to 3.1.0 in package.json (#406) 2022-02-26 08:40:02 -08:00
03e4befc7a ci(dep): Add step to commit changes if PR has dependencies label (#108)
This commit is to perform below steps:

- If PR is having dependencies label, update files in dist as well
- If PR doesn't have dependencies label, fail the build if there
is dirty changes.

Closes #55

Signed-off-by: Tam Mach <sayboras@yahoo.com>
2022-02-26 08:26:42 -08:00
cdfc708aeb Allow to disable caching completely (#351)
* Add skip-cache parameter

* Update README

* Implement cache skipping

* Run prettier

* update descriptions

* re-build dist

Co-authored-by: Sergey Vilgelm <sergey@vilgelm.com>
2022-02-26 08:16:23 -08:00
7d5614c3eb build(deps-dev): bump eslint from 8.9.0 to 8.10.0 (#405)
Bumps [eslint](https://github.com/eslint/eslint) from 8.9.0 to 8.10.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.9.0...v8.10.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-26 07:53:08 -08:00
c675eb70db Update all direct dependencies (#404)
* Update all direct dependencies

* use node v16
* upgrade typescript to v4.5.5
* upgrade actions/github to v5
* use vercel/ncc v0.33.3

* Add compatibility note for v3

* increase timeout for the testing workflow
2022-02-24 11:13:47 -08:00
423fbafafc Remove Setup-Go (#403)
* Remove Setup-Go

Signed-off-by: Steve Coffman <steve@khanacademy.org>

* Add setup-go to test github actions

Signed-off-by: Steve Coffman <steve@khanacademy.org>

* Modify README and action.yml per review

Signed-off-by: Steve Coffman <steve@khanacademy.org>

* build dist

Co-authored-by: Sergey Vilgelm <sergey@vilgelm.com>
2022-02-24 09:34:23 -08:00
bcfc6f96bb build(deps-dev): bump eslint-plugin-import from 2.25.3 to 2.25.4 (#402) 2022-02-22 16:39:35 +00:00
d34ac2aef3 build(deps): bump setup-go from v2.1.4 to v2.2.0 (#401)
Bumps [setup-go](https://github.com/actions/setup-go) from v2.1.4 to v2.2.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](331ce1d993...bfdd3570ce)

---
updated-dependencies:
- dependency-name: setup-go
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-22 19:24:31 +03:00
e4b538ed37 build(deps-dev): bump @types/node from 16.11.10 to 17.0.19 (#400) 2022-02-21 21:35:17 +01:00
a288c0d3a6 build(deps): bump @actions/cache from 1.0.8 to 1.0.9 (#399) 2022-02-21 21:14:13 +01:00
b7a34f8320 build(deps): bump @types/tmp from 0.2.2 to 0.2.3 (#398)
Bumps [@types/tmp](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/tmp) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/tmp)

---
updated-dependencies:
- dependency-name: "@types/tmp"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 21:15:03 +03:00
129bcf9a1f build(deps-dev): bump @types/uuid from 8.3.3 to 8.3.4 (#397) 2022-02-21 15:25:59 +01:00
153576c006 build(deps-dev): bump eslint-config-prettier from 8.3.0 to 8.4.0 (#396) 2022-02-21 10:35:23 +01:00
a9a9dff640 build(deps): bump ansi-regex from 5.0.0 to 5.0.1 (#395) 2022-02-17 18:43:16 +01:00
c5f5ea997d build(deps): bump node-fetch from 2.6.1 to 2.6.7 (#394) 2022-02-17 18:42:56 +01:00
4a71b18a91 build(deps): bump path-parse from 1.0.6 to 1.0.7 (#393) 2022-02-17 18:42:38 +01:00
a4fdb6b72e build(deps-dev): bump prettier from 2.4.1 to 2.5.1 (#378) 2022-02-17 15:23:34 +01:00
ee1123f130 build(deps-dev): bump @types/node from 16.11.7 to 16.11.10 (#375) 2021-11-29 12:19:26 +01:00
4ef1b2ec49 build(deps): bump @actions/cache from 1.0.7 to 1.0.8 (#374) 2021-11-23 10:27:39 +01:00
d218332866 build(deps-dev): bump @types/uuid from 8.3.1 to 8.3.3 (#373)
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid) from 8.3.1 to 8.3.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

---
updated-dependencies:
- dependency-name: "@types/uuid"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-23 08:53:02 +08:00
f00c9148c4 build(deps-dev): bump eslint-plugin-import from 2.25.2 to 2.25.3 (#368)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.25.2 to 2.25.3.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.25.2...v2.25.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-16 09:47:16 +08:00
f8f7d958bb build(deps-dev): bump @types/node from 16.11.6 to 16.11.7 (#367) 2021-11-15 10:31:41 +01:00
bfc4fa1919 build(deps-dev): bump @types/node from 16.11.4 to 16.11.6 (#364) 2021-11-01 13:39:53 +01:00
43be8d0cdd build(deps): bump @types/tmp from 0.2.1 to 0.2.2 (#363)
Bumps [@types/tmp](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/tmp) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/tmp)

---
updated-dependencies:
- dependency-name: "@types/tmp"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-01 12:11:25 +03:00
8067f9f84a Add description for permissions settings (#298)
* Add permissions settings to action test

* Add permissions settings to example config
2021-10-29 10:26:23 -07:00
f47759687a build(deps): bump @types/semver from 7.3.8 to 7.3.9 (#359) 2021-10-25 15:56:04 +02:00
087e546081 build(deps-dev): bump @types/node from 16.11.1 to 16.11.4 (#358) 2021-10-25 15:47:09 +02:00
5371bd590f build(deps-dev): bump eslint-plugin-import from 2.24.2 to 2.25.2 (#355)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.24.2 to 2.25.2.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.24.2...v2.25.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-21 08:09:02 +02:00
24734036d2 change don't to doesn't (#356) 2021-10-20 11:16:04 -07:00
21713123c6 build(deps-dev): bump @types/node from 16.10.3 to 16.11.1 (#352) 2021-10-18 13:54:49 +02:00
9d1a680eed build(deps-dev): bump @types/node from 16.10.2 to 16.10.3 (#350)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.10.2 to 16.10.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-12 08:54:17 +08:00
46a391f1c2 build(deps-dev): bump @typescript-eslint/parser from 4.32.0 to 4.33.0 (#349)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.32.0 to 4.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.33.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-12 08:16:33 +08:00
357a955e8e build(deps-dev): bump @typescript-eslint/eslint-plugin (#348) 2021-10-11 12:20:16 +02:00
fce0498922 build(deps-dev): bump @typescript-eslint/eslint-plugin (#346) 2021-10-04 12:13:29 +02:00
110e97717e build(deps-dev): bump @typescript-eslint/parser from 4.31.2 to 4.32.0 (#345)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.31.2 to 4.32.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.32.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-04 12:51:05 +03:00
1aecf21113 build(deps-dev): bump @types/node from 16.10.1 to 16.10.2 (#343)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.10.1 to 16.10.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-04 12:41:00 +03:00
ef112b5be6 build(deps-dev): bump @types/node from 16.9.4 to 16.10.1 (#342) 2021-09-27 12:44:52 +02:00
5125ed6d61 build(deps-dev): bump @typescript-eslint/parser from 4.31.1 to 4.31.2 (#341) 2021-09-27 12:02:13 +02:00
f05da40d4c build(deps-dev): bump @typescript-eslint/eslint-plugin (#340) 2021-09-27 11:51:09 +02:00
a143bf8921 build(deps-dev): bump @types/node from 16.9.1 to 16.9.4 (#339) 2021-09-20 12:32:28 +02:00
326fa87401 build(deps-dev): bump @typescript-eslint/eslint-plugin (#338) 2021-09-20 12:32:00 +02:00
d2ac25d73f build(deps-dev): bump @typescript-eslint/parser from 4.31.0 to 4.31.1 (#337) 2021-09-20 09:09:17 +00:00
786003e9c7 build(deps-dev): bump prettier from 2.4.0 to 2.4.1 (#336) 2021-09-20 09:08:43 +00:00
62358f9da4 build(deps-dev): bump prettier from 2.3.2 to 2.4.0 (#331)
Bumps [prettier](https://github.com/prettier/prettier) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.3.2...2.4.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-14 09:20:08 +08:00
fe302dcadf build(deps-dev): bump @types/node from 16.7.10 to 16.9.1 (#332)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.7.10 to 16.9.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-14 09:19:53 +08:00
c266032a10 build(deps-dev): bump @typescript-eslint/parser from 4.30.0 to 4.31.0 (#330) 2021-09-13 11:27:39 +02:00
d11c12cf90 build(deps-dev): bump eslint-plugin-prettier from 3.4.1 to 4.0.0 (#329) 2021-09-06 18:50:39 +02:00
959b4c2ca0 build(deps-dev): bump @typescript-eslint/eslint-plugin (#326) 2021-09-06 18:34:07 +02:00
149c153930 build(deps-dev): bump @types/node from 16.7.6 to 16.7.10 (#327) 2021-09-06 11:30:06 +02:00
1536a018c7 build(deps-dev): bump @typescript-eslint/parser from 4.29.3 to 4.30.0 (#328) 2021-09-06 11:29:43 +02:00
b436a39715 build(deps-dev): bump @typescript-eslint/eslint-plugin (#324) 2021-08-30 13:19:20 +02:00
f8f6480e7d build(deps-dev): bump eslint-plugin-import from 2.24.1 to 2.24.2 (#323) 2021-08-30 13:10:06 +02:00
836191867d build(deps-dev): bump @typescript-eslint/parser from 4.29.2 to 4.29.3 (#320) 2021-08-30 13:09:48 +02:00
0559ce1d80 build(deps): bump setup-go from v2.1.3 to v2.1.4 (#321) 2021-08-30 12:27:11 +02:00
b88829864d build(deps-dev): bump @types/node from 16.7.1 to 16.7.6 (#319) 2021-08-30 12:12:02 +02:00
b19e2b3c0a build(deps): bump @actions/core from 1.4.0 to 1.5.0 (#317) 2021-08-24 09:10:34 +02:00
12240bc515 build(deps-dev): bump eslint-plugin-prettier from 3.4.0 to 3.4.1 (#313)
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/commits)

---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-24 09:15:37 +08:00
49b6acfed8 build(deps-dev): bump @typescript-eslint/eslint-plugin (#318)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.29.1 to 4.29.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.29.2/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-24 09:14:44 +08:00
bab998e698 build(deps-dev): bump @types/node from 16.6.1 to 16.7.1 (#314)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.6.1 to 16.7.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-24 09:14:35 +08:00
a832735f53 build(deps-dev): bump eslint-plugin-import from 2.24.0 to 2.24.1 (#315) 2021-08-23 15:06:28 +00:00
d36089f6c3 build(deps-dev): bump @typescript-eslint/parser from 4.29.1 to 4.29.2 (#316) 2021-08-23 12:59:47 +00:00
409e5d240e build(deps-dev): bump @typescript-eslint/eslint-plugin (#311) 2021-08-16 12:36:54 +02:00
549764e76a build(deps-dev): bump @types/node from 16.4.13 to 16.6.1 (#310) 2021-08-16 12:36:34 +02:00
f05cdc6faa build(deps-dev): bump @typescript-eslint/parser from 4.29.0 to 4.29.1 (#309) 2021-08-16 09:20:36 +00:00
a6989616e2 build(deps-dev): bump @types/node from 16.4.10 to 16.4.13 (#307)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.4.10 to 16.4.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-09 13:05:31 +02:00
4f60444900 build(deps-dev): bump eslint-plugin-import from 2.23.4 to 2.24.0 (#306)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.23.4 to 2.24.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.23.4...v2.24.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-09 12:03:57 +02:00
ac08543e75 build(deps-dev): bump @typescript-eslint/eslint-plugin (#305)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.28.5 to 4.29.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.29.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-09 12:03:06 +02:00
75023663df build(deps-dev): bump eslint from 7.31.0 to 7.32.0 (#302) 2021-08-03 20:27:47 +02:00
4ff279027a build(deps-dev): bump @typescript-eslint/parser from 4.28.4 to 4.29.0 (#303) 2021-08-03 20:06:18 +02:00
31d144d116 build(deps-dev): bump @types/node from 16.4.3 to 16.4.10 (#300) 2021-08-03 19:26:53 +02:00
15e20abff8 build(deps-dev): bump @typescript-eslint/eslint-plugin (#299) 2021-08-03 19:26:30 +02:00
46f8c43497 build(deps-dev): bump @typescript-eslint/parser from 4.28.2 to 4.28.4 (#296) 2021-07-26 12:04:07 +02:00
14684a93ef build(deps-dev): bump @types/node from 16.3.3 to 16.4.3 (#295) 2021-07-26 12:03:47 +02:00
0e9fa9c8e2 build(deps): bump @types/semver from 7.3.7 to 7.3.8 (#294) 2021-07-26 12:03:02 +02:00
15ed67c1de build(deps-dev): bump @typescript-eslint/eslint-plugin (#293)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.28.3 to 4.28.4.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.4/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-26 19:43:19 +10:00
caa1fa532d build(deps-dev): bump @typescript-eslint/eslint-plugin (#290) 2021-07-19 12:25:34 +02:00
e62c1052cf build(deps-dev): bump @types/uuid from 8.3.0 to 8.3.1 (#283) 2021-07-19 11:45:18 +02:00
caf7c34f5a build(deps-dev): bump @types/node from 16.3.1 to 16.3.3 (#292) 2021-07-19 11:26:20 +02:00
7376bdf790 build(deps-dev): bump eslint from 7.30.0 to 7.31.0 (#291) 2021-07-19 11:25:39 +02:00
1f0d323737 build(deps-dev): bump @types/node from 16.0.0 to 16.3.1 (#289) 2021-07-12 12:45:53 +02:00
a39c3ffed3 build(deps-dev): bump @typescript-eslint/eslint-plugin (#287) 2021-07-12 11:23:32 +02:00
9a759fbc45 build(deps): bump @types/semver from 7.3.6 to 7.3.7 (#288)
Bumps [@types/semver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/semver) from 7.3.6 to 7.3.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/semver)

---
updated-dependencies:
- dependency-name: "@types/semver"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-12 17:08:29 +08:00
62e84c3c4c build(deps-dev): bump @typescript-eslint/parser from 4.28.1 to 4.28.2 (#286)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.28.1 to 4.28.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.2/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-12 17:07:42 +08:00
b25b8c7a74 build(deps-dev): bump typescript from 4.3.4 to 4.3.5 (#284) 2021-07-06 16:34:34 +02:00
bbd70929c2 build(deps-dev): bump @typescript-eslint/eslint-plugin (#282) 2021-07-05 12:28:48 +02:00
60abaa8ea2 build(deps-dev): bump eslint from 7.29.0 to 7.30.0 (#279) 2021-07-05 11:28:51 +02:00
8c1e004312 build(deps-dev): bump @typescript-eslint/parser from 4.28.0 to 4.28.1 (#278) 2021-07-05 11:28:40 +02:00
6f6d8132f3 build(deps): bump @types/tmp from 0.2.0 to 0.2.1 (#280) 2021-07-05 11:12:15 +02:00
219bd32ab9 build(deps-dev): bump @types/node from 15.12.5 to 16.0.0 (#281) 2021-07-05 11:11:48 +02:00
7ede1b4cda build(deps-dev): bump prettier from 2.3.1 to 2.3.2 (#273) 2021-06-28 14:10:26 +02:00
0117eff7bc build(deps-dev): bump @types/node from 15.12.4 to 15.12.5 (#276) 2021-06-28 14:10:06 +02:00
06f6e1a8f1 build(deps-dev): bump @typescript-eslint/eslint-plugin (#275) 2021-06-28 14:09:41 +02:00
df080e3b0c build(deps-dev): bump @typescript-eslint/parser from 4.27.0 to 4.28.0 (#274) 2021-06-28 12:30:00 +02:00
83f444df15 build(deps-dev): bump typescript from 4.3.2 to 4.3.4 (#272) 2021-06-28 12:21:57 +02:00
28e8ba14c9 build(deps-dev): bump eslint from 7.28.0 to 7.29.0 (#269) 2021-06-21 15:04:06 +02:00
087718c925 build(deps-dev): bump @typescript-eslint/eslint-plugin (#270) 2021-06-21 14:49:45 +02:00
d1dab7c3b6 build(deps-dev): bump @types/node from 15.12.2 to 15.12.4 (#268) 2021-06-21 14:49:12 +02:00
02697c5273 build(deps-dev): bump @typescript-eslint/parser from 4.26.1 to 4.27.0 (#267) 2021-06-21 11:29:40 +02:00
4deddfaddc build(deps): bump @actions/core from 1.3.0 to 1.4.0 (#266) 2021-06-15 04:36:23 +02:00
932e5370e4 build(deps-dev): bump @typescript-eslint/eslint-plugin (#264)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.26.0 to 4.26.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-15 09:38:51 +08:00
f6bac355f6 build(deps-dev): bump @typescript-eslint/parser from 4.26.0 to 4.26.1 (#265) 2021-06-14 10:53:17 +02:00
851656297a build(deps): bump @actions/exec from 1.0.4 to 1.1.0 (#263) 2021-06-14 10:52:50 +02:00
42fcadffd7 build(deps): bump @actions/tool-cache from 1.7.0 to 1.7.1 (#262) 2021-06-14 07:24:54 +02:00
9110cf0ecc build(deps-dev): bump @types/node from 15.12.1 to 15.12.2 (#261) 2021-06-14 07:24:29 +02:00
ea8f042b47 build(deps-dev): bump @typescript-eslint/parser from 4.25.0 to 4.26.0 (#260) 2021-06-07 18:19:25 +02:00
4603c8008d build(deps-dev): bump @types/node from 15.6.1 to 15.12.1 (#257)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.6.1 to 15.12.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 14:35:30 +08:00
df58a55048 build(deps-dev): bump eslint from 7.27.0 to 7.28.0 (#256)
Bumps [eslint](https://github.com/eslint/eslint) from 7.27.0 to 7.28.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.27.0...v7.28.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 14:35:16 +08:00
7cce37b0b4 build(deps-dev): bump @typescript-eslint/eslint-plugin (#258)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.25.0 to 4.26.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 14:35:05 +08:00
fee05dc7f3 build(deps-dev): bump prettier from 2.3.0 to 2.3.1 (#259)
Bumps [prettier](https://github.com/prettier/prettier) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.3.0...2.3.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 14:33:53 +08:00
ce06d75c94 build(deps-dev): bump @typescript-eslint/parser from 4.24.0 to 4.25.0 (#251)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.24.0 to 4.25.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.25.0/packages/parser)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 16:50:36 +08:00
988235bf28 build(deps): bump @actions/tool-cache from 1.6.1 to 1.7.0 (#254)
Bumps [@actions/tool-cache](https://github.com/actions/toolkit/tree/HEAD/packages/tool-cache) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/tool-cache/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/tool-cache)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 16:50:26 +08:00
aa4608ff29 build(deps-dev): bump @typescript-eslint/eslint-plugin (#253)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.24.0 to 4.25.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.25.0/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 16:30:44 +08:00
18265ba4d8 build(deps-dev): bump eslint-plugin-import from 2.23.3 to 2.23.4 (#250)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.23.3 to 2.23.4.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.23.3...v2.23.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 14:12:21 +08:00
7bac37febb build(deps-dev): bump typescript from 4.2.4 to 4.3.2 (#249)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 14:12:14 +08:00
6dfbaa3535 build(deps-dev): bump @types/node from 15.6.0 to 15.6.1 (#252)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.6.0 to 15.6.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 14:12:07 +08:00
54d492b16c build(deps-dev): bump @typescript-eslint/parser from 4.22.1 to 4.24.0 (#243) 2021-05-24 14:11:53 +02:00
27ed31ebd6 build(deps-dev): bump @types/node from 15.3.0 to 15.6.0 (#242)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.3.0 to 15.6.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 16:14:42 +08:00
e027344f45 build(deps-dev): bump eslint from 7.26.0 to 7.27.0 (#241)
Bumps [eslint](https://github.com/eslint/eslint) from 7.26.0 to 7.27.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.26.0...v7.27.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 13:30:54 +08:00
6d0159e91a build(deps): bump @actions/core from 1.2.7 to 1.3.0 (#239)
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.7 to 1.3.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 13:30:42 +08:00
4e7bbc596f build(deps-dev): bump @typescript-eslint/eslint-plugin (#240)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.23.0 to 4.24.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.24.0/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 13:30:31 +08:00
6bfe1df230 build(deps-dev): bump eslint-plugin-import from 2.23.2 to 2.23.3 (#238)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.23.2 to 2.23.3.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.23.2...v2.23.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 13:30:26 +08:00
8e3dd7cda3 build(deps-dev): bump @typescript-eslint/eslint-plugin (#237) 2021-05-17 10:13:58 +02:00
d9309c3ecd build(deps): bump @types/semver from 7.3.5 to 7.3.6 (#233) 2021-05-17 09:15:48 +02:00
27d36d540a build(deps-dev): bump eslint-plugin-import from 2.22.1 to 2.23.2 (#236) 2021-05-17 09:15:06 +02:00
15d9fe194e build(deps-dev): bump @types/node from 15.0.2 to 15.3.0 (#234) 2021-05-17 09:14:34 +02:00
23ef4c9b80 build(deps-dev): bump @typescript-eslint/eslint-plugin (#227) 2021-05-10 13:45:44 +02:00
ad3b558f83 build(deps-dev): bump prettier from 2.2.1 to 2.3.0 (#229)
Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.2.1...2.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 13:30:35 +08:00
b2f22d964b build(deps-dev): bump @types/node from 15.0.1 to 15.0.2 (#230)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.0.1 to 15.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 13:30:12 +08:00
85a08b9006 build(deps-dev): bump eslint from 7.25.0 to 7.26.0 (#228)
Bumps [eslint](https://github.com/eslint/eslint) from 7.25.0 to 7.26.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.25.0...v7.26.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 13:29:19 +08:00
2036e240da build(deps-dev): bump @typescript-eslint/parser from 4.22.0 to 4.22.1 (#231)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.22.0 to 4.22.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.22.1/packages/parser)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 13:28:36 +08:00
17d4bc397f build(deps-dev): bump @types/node from 14.14.41 to 15.0.1 (#225) 2021-05-03 10:29:13 +02:00
c355eeab11 build(deps): bump @types/semver from 7.3.4 to 7.3.5 (#224) 2021-05-03 10:29:00 +02:00
db69912a35 build(deps-dev): bump eslint from 7.24.0 to 7.25.0 (#223) 2021-04-26 12:44:20 +02:00
f14c093626 build(deps-dev): bump eslint-config-prettier from 8.2.0 to 8.3.0 (#222)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.2.0 to 8.3.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.2.0...v8.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Long Dai <long0dai@foxmail.com>
Co-authored-by: Long Dai <long0dai@foxmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-26 13:43:33 +08:00
7f1a4282b7 build(deps-dev): bump eslint-config-prettier from 8.1.0 to 8.2.0 (#220) 2021-04-19 12:42:46 +02:00
0adb1986cf build(deps-dev): bump @typescript-eslint/eslint-plugin (#217) 2021-04-19 12:27:05 +02:00
75ba1c2aad build(deps-dev): bump @types/node from 14.14.37 to 14.14.41 (#215) 2021-04-19 12:26:42 +02:00
ac8bda106a build(deps): bump @actions/core from 1.2.6 to 1.2.7 (#216) 2021-04-19 09:08:43 +02:00
1d44e6d1ee build(deps-dev): bump eslint-plugin-prettier from 3.3.1 to 3.4.0 (#218) 2021-04-19 09:07:57 +02:00
89fe568d08 build(deps-dev): bump @typescript-eslint/parser from 4.21.0 to 4.22.0 (#219) 2021-04-19 09:02:49 +02:00
c697566258 build(deps-dev): bump @typescript-eslint/eslint-plugin (#210) 2021-04-12 14:07:10 +02:00
9ce9ed1016 build(deps-dev): bump @typescript-eslint/parser from 4.20.0 to 4.21.0 (#212) 2021-04-12 13:58:52 +02:00
3bb6112eb2 build(deps-dev): bump typescript from 4.2.3 to 4.2.4 (#211) 2021-04-12 13:57:24 +02:00
e4395de4fb build(deps-dev): bump eslint from 7.23.0 to 7.24.0 (#213) 2021-04-12 12:19:36 +02:00
52d77950b7 build(deps): bump @actions/cache from 1.0.6 to 1.0.7 (#214) 2021-04-12 09:39:53 +02:00
ebc78f9b2f build(deps-dev): bump @typescript-eslint/eslint-plugin (#204) 2021-04-05 12:35:56 +02:00
835e616ef0 build(deps-dev): bump @typescript-eslint/parser from 4.19.0 to 4.20.0 (#203) 2021-04-05 12:24:34 +02:00
14 changed files with 116585 additions and 114297 deletions

View File

@ -16,7 +16,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# Must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head of the pull request.
@ -31,7 +31,7 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
# Override language selection by uncommenting this and choosing your languages
with:
language: 'javascript'
@ -41,4 +41,4 @@ jobs:
npm run all
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2

View File

@ -10,12 +10,32 @@ jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: |
npm install
npm run all
# Update dist files if there is label dependencies
- name: Update dist files
if: github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'dependencies')
run: |
if [[ -z $(git status -s) ]]
then
echo "No change is required"
else
echo "Updating dist directory"
git config --local user.name "dependabot[bot]"
git config --local user.email "49699333+dependabot[bot]@users.noreply.github.com"
git add --update
git commit --message="Update dist files"
git push
fi
# Fail the build if there is dirty change
- run: git diff --exit-code
test: # make sure the action works on a clean machine without building
needs: [ build ]
strategy:
matrix:
os:
@ -28,15 +48,20 @@ jobs:
- "v1.37"
- "v1.37.1"
runs-on: ${{ matrix.os }}
permissions:
contents: read
pull-requests: read
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: ./
with:
version: ${{ matrix.version }}
args: --issues-exit-code=0 ./sample/...
args: --timeout=3m --issues-exit-code=0 ./sample/...
only-new-issues: true
test-go-mod-version:
needs: [ build ]
strategy:
matrix:
os:
@ -44,9 +69,12 @@ jobs:
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
permissions:
contents: read
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: ./
with:
working-directory: sample-go-mod
args: --issues-exit-code=0 ./...
args: --timeout=3m --issues-exit-code=0 ./...

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
v16

View File

@ -9,6 +9,8 @@ The action runs [golangci-lint](https://github.com/golangci/golangci-lint) and r
## Compatibility
* `v3.0.0+` requires explicit setup-go installation step prior to using this action: `uses: actions/setup-go@v3`.
The `skip-go-installation` option has been removed.
* `v2.0.0+` works with `golangci-lint` version >= `v1.28.3`
* `v1.2.2` is deprecated due to we forgot to change the minimum version of `golangci-lint` to `v1.28.3` ([issue](https://github.com/golangci/golangci-lint-action/issues/39))
* `v1.2.1` works with `golangci-lint` version >= `v1.14.0` ([issue](https://github.com/golangci/golangci-lint-action/issues/39))
@ -27,14 +29,21 @@ on:
- master
- main
pull_request:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
with:
go-version: 1.17
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.29
@ -48,8 +57,9 @@ jobs:
# Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true
# Optional: if set to true then the action will use pre-installed Go.
# skip-go-installation: true
# Optional: if set to true then the all caching functionality will be complete disabled,
# takes precedence over all other caching options.
# skip-cache: true
# Optional: if set to true then the action don't cache or restore ~/go/pkg.
# skip-pkg-cache: true
@ -75,18 +85,25 @@ on:
- master
- main
pull_request:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
jobs:
golangci:
strategy:
matrix:
go-version: [1.15.x]
go: [1.17]
os: [macos-latest, windows-latest]
name: lint
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.29
@ -125,7 +142,6 @@ The action was implemented with performance in mind:
For example, in a repository of [golangci-lint](https://github.com/golangci/golangci-lint) running this action without the cache takes 50s, but with cache takes 14s:
* in parallel:
* 13s to download Go
* 4s to restore 50 MB of cache
* 1s to find and install `golangci-lint`
* 1s to run `golangci-lint` (it takes 35s without cache)
@ -145,7 +161,6 @@ Inside our action we perform 3 steps:
* restore [cache](https://github.com/actions/cache) of previous analyzes
* fetch [action config](https://github.com/golangci/golangci-lint/blob/master/assets/github-action-config.json) and find the latest `golangci-lint` patch version
for needed version (users of this action can specify only minor version of `golangci-lint`). After that install [golangci-lint](https://github.com/golangci/golangci-lint) using [@actions/tool-cache](https://github.com/actions/toolkit/tree/master/packages/tool-cache)
* install the latest Go 1.x version using [@actions/setup-go](https://github.com/actions/setup-go)
2. Run `golangci-lint` with specified by user `args`
3. Save cache for later builds

View File

@ -20,20 +20,22 @@ inputs:
description: "if set to true and the action runs on a pull request - the action outputs only newly found issues"
default: false
required: true
skip-go-installation:
description: "if set to true then action uses pre-installed Go"
skip-cache:
description: |
if set to true then the all caching functionality will be complete disabled,
takes precedence over all other caching options.
default: false
required: true
skip-pkg-cache:
description: "if set to true then the action don't cache or restore ~/go/pkg."
description: "if set to true then the action doesn't cache or restore ~/go/pkg."
default: false
required: true
skip-build-cache:
description: "if set to true then the action don't cache or restore ~/.cache/go-build."
description: "if set to true then the action doesn't cache or restore ~/.cache/go-build."
default: false
required: true
runs:
using: "node12"
using: "node16"
main: "dist/run/index.js"
post: "dist/post_run/index.js"
branding:

113207
dist/post_run/index.js vendored

File diff suppressed because one or more lines are too long

113215
dist/run/index.js vendored

File diff suppressed because one or more lines are too long

4291
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +1,10 @@
{
"name": "golanci-lint-action",
"version": "2.0.0",
"version": "3.1.0",
"private": true,
"description": "golangci-lint github action",
"main": "dist/main.js",
"scripts": {
"prepare-setup-go": "cd node_modules/setup-go && npm run build",
"prepare-deps": "npm run prepare-setup-go",
"build": "tsc && ncc build -o dist/run/ src/main.ts && ncc build -o dist/post_run/ src/post_main.ts",
"watched_build_main": "tsc && ncc build -w -o dist/run/ src/main.ts",
"watched_build_post_main": "tsc && ncc build -w -o dist/post_run/ src/post_main.ts",
@ -15,7 +13,7 @@
"lint-fix": "eslint **/*.ts --cache --fix",
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"all": "npm run prepare-deps && npm run build && npm run format-check && npm run lint",
"all": "npm run build && npm run format-check && npm run lint",
"local": "npm run build && act -j test -b",
"local-full-version": "npm run build && act -j test-full-version -b"
},
@ -26,28 +24,25 @@
"author": "golangci",
"license": "MIT",
"dependencies": {
"@actions/cache": "^1.0.6",
"@actions/core": "^1.2.6",
"@actions/exec": "^1.0.1",
"@actions/github": "^4.0.0",
"@actions/tool-cache": "^1.6.1",
"@types/semver": "^7.3.4",
"@types/tmp": "^0.2.0",
"setup-go": "git+https://github.com/actions/setup-go.git#v2.1.3",
"@actions/cache": "^2.0.2",
"@actions/core": "^1.8.0",
"@actions/exec": "^1.1.1",
"@actions/github": "^5.0.1",
"@actions/tool-cache": "^1.7.2",
"@types/semver": "^7.3.9",
"@types/tmp": "^0.2.3",
"tmp": "^0.2.1"
},
"devDependencies": {
"@types/node": "^14.14.37",
"@types/uuid": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"@zeit/ncc": "^0.22.3",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"@typescript-eslint/eslint-plugin": "^5.22.0",
"@typescript-eslint/parser": "^5.22.0",
"@vercel/ncc": "^0.33.4",
"eslint": "^8.15.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"prettier": "^2.2.1",
"typescript": "^4.2.3"
"prettier": "^2.6.2",
"typescript": "^4.6.4"
}
}

View File

@ -52,12 +52,9 @@ const getIntervalKey = (invalidationIntervalDays: number): string => {
async function buildCacheKeys(): Promise<string[]> {
const keys = []
let cacheKey = `golangci-lint.cache-`
keys.push(cacheKey)
// Periodically invalidate a cache because a new code being added.
// TODO: configure it via inputs.
cacheKey += `${getIntervalKey(7)}-`
let cacheKey = `golangci-lint.cache-${getIntervalKey(7)}-`
keys.push(cacheKey)
if (await pathExists(`go.mod`)) {
@ -72,6 +69,8 @@ async function buildCacheKeys(): Promise<string[]> {
}
export async function restoreCache(): Promise<void> {
if (core.getInput(`skip-cache`, { required: true }).trim() == "true") return
if (!utils.isValidEvent()) {
utils.logWarning(
`Event Validation Error: The event type ${process.env[Events.Key]} is not supported because it's not tied to a branch or tag ref.`
@ -112,6 +111,8 @@ export async function restoreCache(): Promise<void> {
}
export async function saveCache(): Promise<void> {
if (core.getInput(`skip-cache`, { required: true }).trim() == "true") return
// Validate inputs, this can cause task failure
if (!utils.isValidEvent()) {
utils.logWarning(

4
src/deps.d.ts vendored
View File

@ -1,7 +1,3 @@
declare module "setup-go/lib/main" {
function run(): Promise<void>
}
declare module "cache/lib/restore" {
function run(): Promise<void>
export default run

View File

@ -2,7 +2,6 @@ import * as core from "@actions/core"
import * as tc from "@actions/tool-cache"
import os from "os"
import path from "path"
import { run as setupGo } from "setup-go/lib/main"
import { VersionConfig } from "./version"
@ -59,16 +58,3 @@ export async function installLint(versionConfig: VersionConfig): Promise<string>
core.info(`Installed golangci-lint into ${lintPath} in ${Date.now() - startedAt}ms`)
return lintPath
}
export async function installGo(): Promise<void> {
const skipGoInstallation = core.getInput(`skip-go-installation`, { required: true }).trim()
if (skipGoInstallation.toLowerCase() == "true") {
core.info(`Skipping the installation of Go`)
return
}
const startedAt = Date.now()
process.env[`INPUT_GO-VERSION`] = `1`
await setupGo()
core.info(`Installed Go in ${Date.now() - startedAt}ms`)
}

View File

@ -7,7 +7,7 @@ import { dir } from "tmp"
import { promisify } from "util"
import { restoreCache, saveCache } from "./cache"
import { installGo, installLint } from "./install"
import { installLint } from "./install"
import { findLintVersion } from "./version"
const execShellCommand = promisify(exec)
@ -41,7 +41,7 @@ async function fetchPatch(): Promise<string> {
const octokit = github.getOctokit(core.getInput(`github-token`, { required: true }))
let patch: string
try {
const patchResp = await octokit.pulls.get({
const patchResp = await octokit.rest.pulls.get({
owner: ctx.repo.owner,
repo: ctx.repo.repo,
[`pull_number`]: pull.number,
@ -85,11 +85,9 @@ async function prepareEnv(): Promise<Env> {
// Prepare cache, lint and go in parallel.
const restoreCachePromise = restoreCache()
const prepareLintPromise = prepareLint()
const installGoPromise = installGo()
const patchPromise = fetchPatch()
const lintPath = await prepareLintPromise
await installGoPromise
await restoreCachePromise
const patchPath = await patchPromise

View File

@ -8,7 +8,8 @@
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"tsBuildInfoFile": ".tsbuildinfo",
"incremental": true
"incremental": true,
"useUnknownInCatchVariables": false
},
"exclude": ["node_modules", "**/*.test.ts"]
}
}