63 Commits

Author SHA1 Message Date
dependabot[bot]
6897b1a051
build(deps): bump xml2js, @azure/ms-rest-js and @azure/core-http (#726)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-04-18 11:56:33 +02:00
dependabot[bot]
0fd20142bb
build(deps): bump @actions/cache from 3.1.4 to 3.2.1 (#698)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-03-20 13:41:45 +00:00
dependabot[bot]
8c99775d4b
build(deps): bump @actions/http-client from 2.0.1 to 2.1.0 (#697)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-03-20 10:56:12 +00:00
dependabot[bot]
e92337f3b6
build(deps): bump @actions/cache from 3.1.3 to 3.1.4 (#686)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-02-27 21:47:45 +01:00
dependabot[bot]
419d0912ea
build(deps): bump @actions/cache from 3.1.2 to 3.1.3 (#672)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-02-13 16:02:15 +01:00
bbernays
1626f2bd94
Support Caching in Mono Repo (#629) 2023-01-14 16:43:01 +01:00
dependabot[bot]
b56f6f5290
build(deps): bump @actions/cache from 3.1.1 to 3.1.2 (#647)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-01-12 10:34:37 +01:00
dependabot[bot]
c4655a9524
build(deps): bump @actions/cache from 3.1.0 to 3.1.1 (#638)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-01-02 11:21:37 +01:00
dependabot[bot]
4419fdcf2f
build(deps): bump @actions/cache from 3.0.6 to 3.1.0 (#632)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-12-26 14:17:32 +01:00
dependabot[bot]
5423639e7b
build(deps): bump @actions/core from 1.9.1 to 1.10.0 (#578)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-10-03 16:44:31 +02:00
dependabot[bot]
c225631afd
build(deps): bump @actions/github from 5.1.0 to 5.1.1 (#576)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-10-03 16:24:03 +02:00
dependabot[bot]
5acb063f68
build(deps): bump @actions/cache from 3.0.3 to 3.0.4 (#555)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-09-26 11:43:36 +02:00
dependabot[bot]
08fdc050d7
build(deps): bump @actions/github from 5.0.3 to 5.1.0 (#571)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-09-26 11:37:25 +02:00
dependabot[bot]
032fa5c5e4
build(deps): bump @actions/cache from 3.0.0 to 3.0.3 (#549) 2022-08-15 23:44:25 +02:00
dependabot[bot]
b7bf60a5f7
build(deps): bump @actions/core from 1.9.0 to 1.9.1 (#548) 2022-08-15 23:35:46 +02:00
dependabot[bot]
565398b3aa
build(deps): bump @actions/cache from 2.0.6 to 3.0.0 (#507)
* build(deps): bump @actions/cache from 2.0.6 to 3.0.0

Bumps [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache) from 2.0.6 to 3.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>

* update dist

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kamil Samigullin <kamil@samigullin.info>
2022-06-29 20:06:05 +03:00
dependabot[bot]
0db771b9ab
build(deps): bump @actions/core from 1.8.2 to 1.9.0 (#500)
* build(deps): bump @actions/core from 1.8.2 to 1.9.0

Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.8.2 to 1.9.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: Kamil Samigullin <kamil@samigullin.info>
2022-06-21 08:13:36 +03:00
dependabot[bot]
19d17f2de0
build(deps): bump @actions/cache from 2.0.5 to 2.0.6 (#494)
* build(deps): bump @actions/cache from 2.0.5 to 2.0.6

Bumps [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache) from 2.0.5 to 2.0.6.
- [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: Kamil Samigullin <kamil@samigullin.info>
2022-06-13 23:53:17 +03:00
dependabot[bot]
f016ec070e
build(deps): bump @actions/http-client from 1.0.11 to 2.0.1 (#490)
Bumps [@actions/http-client](https://github.com/actions/toolkit/tree/HEAD/packages/http-client) from 1.0.11 to 2.0.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/http-client/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/http-client)

---
updated-dependencies:
- dependency-name: "@actions/http-client"
  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-06-06 12:49:43 +03:00
dependabot[bot]
62870e168c
build(deps): bump @actions/tool-cache from 1.7.2 to 2.0.1 (#472)
* build(deps): bump @actions/tool-cache from 1.7.2 to 2.0.1

Bumps [@actions/tool-cache](https://github.com/actions/toolkit/tree/HEAD/packages/tool-cache) from 1.7.2 to 2.0.1.
- [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)

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

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: Kamil Samigullin <kamil@samigullin.info>
2022-06-02 10:08:18 +03:00
dependabot[bot]
421056684a
build(deps): bump @actions/core from 1.8.0 to 1.8.2 (#473)
* build(deps): bump @actions/core from 1.8.0 to 1.8.2

Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.8.0 to 1.8.2.
- [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-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: Kamil Samigullin <kamil@samigullin.info>
2022-06-01 11:27:30 +03:00
dependabot[bot]
451e84b610
build(deps): bump @actions/cache from 2.0.4 to 2.0.5 (#484)
Co-authored-by: Kamil Samigullin <kamil@samigullin.info>
2022-06-01 09:56:42 +02:00
dependabot[bot]
f3c064d740
build(deps): bump @actions/cache from 2.0.2 to 2.0.4 (#471)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-05-16 13:36:20 +02:00
dependabot[bot]
6aefae24f7
build(deps): bump @actions/github from 5.0.1 to 5.0.3 (#470)
Co-authored-by: Kamil Samigullin <kamil@samigullin.info>
2022-05-16 12:52:10 +02:00
Eric Zimanyi
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
Tomas Dabasinskas
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
Sergey Vilgelm
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
Steve Coffman
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
Michael Mulligan
5c56cd6c9d
Extract and don't mangle User Args. (#200) 2021-04-04 10:20:31 +02:00
Sergey Vilgelm
d9f0e73c04
Check that go.mod exists in reading the version (#173)
Add additional tests in github actions
Support working directory for reading the version from go.mod
2021-02-23 23:51:00 -06:00
Lukas Malkmus
51485a4001
Try to get version from go.mod file (#118)
* Try to get version from go.mod file

* re-build

Co-authored-by: Sergey Vilgelm <sergey.vilgelm@ibm.com>
2021-02-23 10:45:22 -06:00
Sean McGinnis
a12ae43dd8
Add --overwrite flag to tar extraction (#156)
* Add --overwrite flag to tar extraction

There are times when previous actions have already extracted at least
some files to the cache location. This results in subsequent cache
extraction operations to emit errors such as:

> /usr/bin/tar: [dest_file_path]: Cannot open: File exists

This adds the --overwrite flag to the extract call to force tar to
just overwrite these files rather than reporting errors.

Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>

* npm run lint-fix & npm run format

* ignore macOS

Co-authored-by: Sergey Vilgelm <sergey.vilgelm@ibm.com>
2021-02-23 09:00:58 -06:00
dependabot[bot]
f1dee55574
build(deps-dev): bump eslint-config-prettier from 6.15.0 to 8.0.0 (#168)
* build(deps-dev): bump eslint-config-prettier from 6.15.0 to 8.0.0

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.15.0 to 8.0.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/v6.15.0...v8.0.0)

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

* update .eslintrc.json and re-build

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergey Vilgelm <sergey.vilgelm@ibm.com>
2021-02-23 07:29:01 -06:00
Sergey Vilgelm
544d2efb30
Update dist folder (#160) 2021-02-14 18:50:33 +01:00
Sindre Røkenes Myren
0dd30832fc
Add options to skip caching of folders. (#154)
Add option to skip caching the Go package directory (~/go/pkg).
Add option to skip caching the Go build directory (~/.cache/go-build).
Update README to mention new options.
2021-02-14 10:59:58 -06:00
Sergey Vilgelm
e4e910b0ce
Add a skip-go-installation to use pre-installed Go (#144)
* update package-lock.json

* Add skip-go-installation to use pre-installed Go

Add the golangci-lint to PATH
2020-12-31 11:20:57 -06:00
dependabot[bot]
89d96d6c20
build(deps-dev): bump eslint-plugin-simple-import-sort from 5.0.3 to 7.0.0 (#137)
* build(deps-dev): bump eslint-plugin-simple-import-sort

Bumps [eslint-plugin-simple-import-sort](https://github.com/lydell/eslint-plugin-simple-import-sort) from 5.0.3 to 7.0.0.
- [Release notes](https://github.com/lydell/eslint-plugin-simple-import-sort/releases)
- [Changelog](https://github.com/lydell/eslint-plugin-simple-import-sort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lydell/eslint-plugin-simple-import-sort/compare/v5.0.3...v7.0.0)

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

* update dist

* update .eslintrc.json

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergey Vilgelm <sergey.vilgelm@ibm.com>
2020-12-28 22:41:47 -06:00
Tam Mach
a1c5369c06
feat(version): Support for patch verison (#101)
This commit is to support X.Y.Z version in config.

- if X.Y.Z version is passed, honour it 👍
- if X.Y version is passed, keep the same behaviour
as it is right now.

Closes #98

Signed-off-by: Tam Mach <sayboras@yahoo.com>
2020-10-17 16:52:51 +08:00
Tam Mach
54a84d46fb
chore(dist): Update dist directory after few dependent bot PRs (#99)
This commit is to update dist directory after few dependent bot PRs

Signed-off-by: Tam Mach <sayboras@yahoo.com>
2020-10-11 20:39:48 +03:00
Sergey Vilgelm
87260465c1
Update dist after dependabot PRs (#68) 2020-08-10 07:04:21 -05:00
Sergey Vilgelm
6317259e28
Run action on different platforms (#65) 2020-08-03 17:35:08 +03:00
Sergey Vilgelm
809d3b078b
Support latest tag for golangci-lint version (#64) 2020-08-02 11:04:32 -05:00
dependabot[bot]
b026646c83
build(deps): bump @actions/github from 2.1.1 to 4.0.0 (#45)
* build(deps): bump @actions/github from 2.1.1 to 4.0.0

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

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

* Fix usage of github action

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergey Vilgelm <sergey.vilgelm@ibm.com>
2020-08-02 06:08:36 -05:00
Sergey Vilgelm
c598686db1
Update dist after the dependabot PRs (#62) 2020-08-01 09:09:28 -05:00
Sergey Vilgelm
c238b72278
Prepare v2.0.0 (#40) 2020-07-15 12:18:02 -05:00