From e9c577161b09bb1915c55a9045cbcc1435cb69a8 Mon Sep 17 00:00:00 2001 From: dblock Date: Sun, 7 Nov 2021 22:11:06 -0500 Subject: Use ruby/setup-ruby and reset fetch depth. --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1