summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordblock <dblock@dblock.org>2021-11-07 22:11:06 -0500
committerdblock <dblock@dblock.org>2021-11-07 22:15:16 -0500
commite9c577161b09bb1915c55a9045cbcc1435cb69a8 (patch)
tree4e1728a66f1263975c360715bff760e0d5bd4648
parent04cc1781353916f58dea1327ad17981e76c54834 (diff)
downloadhashie-e9c577161b09bb1915c55a9045cbcc1435cb69a8.tar.gz
Use ruby/setup-ruby and reset fetch depth.
-rw-r--r--.github/workflows/main.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 5149d9b..e57056b 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -14,9 +14,12 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v2
- - uses: actions/setup-ruby@v1
+ with:
+ fetch-depth: 0
+ - uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
+ bundler-cache: true
- uses: MeilCli/danger-action@v5
with:
danger_file: Dangerfile