diff options
author | rhysd | 2023-06-20 10:01:51 +0900 |
---|---|---|
committer | rhysd | 2023-06-20 10:01:51 +0900 |
commit | ac590616f36b9753e7d1736d3d596a35a5845e83 (patch) | |
tree | dccd45c29a41980da37c9e36a9931a9620a2977d | |
parent | e7cd69650e93f551b28ea0d8a709a5a2e5cb1f78 (diff) | |
download | aur-ac590616f36b9753e7d1736d3d596a35a5845e83.tar.gz |
actionlint: Fix running unit tests
This fixes https://github.com/rhysd/actionlint/issues/307
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -29,6 +29,9 @@ build() { check() { cd "$pkgname-$pkgver" + # To run tests for actionlint, `.git` directory is needed. + # actionlint finds a root of repository by checking the directory. + mkdir -p .git go test -v ./ ./scripts/... } |