27 Commits

Author SHA1 Message Date
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
Tam Mach
ba40dc6b1d
Run the build after dependabot PRs (#54) 2020-07-15 09:15:21 +10:00
Joe Wilner
cf72500b28
Add path prefix if working director specified (#34) 2020-07-10 19:20:33 +00:00
Tam Mach
d737e6d962
Fix misleading version input description (#33)
* Fix misleading version input description

Signed-off-by: Tam Mach <sayboras@yahoo.com>

* Run npm run all

* Update dep to fix CI

* Update dep to fix CI

* Bump to 1.28

* Locked down setup-go version
2020-07-06 06:17:53 +02:00
Denis Isaev
8870cfbcd4
remove output setting (#22)
Relates: #21
2020-05-23 12:34:30 +03:00
Tam Mach
3395f777a4
Replace forked cache by official npm (#21)
* Replace forked cache by official npm

* Follow the same validation as @action/cache

* Remove debug log
2020-05-23 12:25:16 +03:00
Denis Isaev
04eca20383 don't add --new args if not requested 2020-05-22 10:48:00 +03:00
Denis Isaev
10cbc929b3
Support only-new-issues (#19)
Fixes #16
2020-05-22 10:36:12 +03:00
Stephanie Hobbs
20d5541dab
Add working-directory support (#18)
Add working-directory support

Fixes #15
2020-05-21 14:36:02 +03:00
Denis Isaev
27e14e0f3f use action config, don't require github token
fixes #11
2020-05-09 16:34:52 +03:00
Denis Isaev
13e2c1f984
fix go.mod hashsum 2020-05-05 17:17:46 +03:00
Denis Isaev
b7926cae39
improve caching 2020-05-05 17:03:47 +03:00
Denis Isaev
f7d08adb03
Fix problems parsing 2020-05-04 19:48:51 +03:00
Denis Isaev
853ade09ed
reimplement github action in typescript 2020-05-04 17:48:04 +03:00