From 0c0252ca449752d051707d0a86186e95a5f6a1d3 Mon Sep 17 00:00:00 2001 From: quobix Date: Wed, 2 Oct 2024 11:32:16 -0400 Subject: [PATCH] I wish GH actions were easier to test --- .github/workflows/build.yaml | 7 ++++--- .github/workflows/publish.yaml | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d729947a..6dd244ea 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -21,9 +21,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - fetch-depth: 50 - fetch-tags: true - show-progress: true + with: + fetch-depth: 50 + fetch-tags: true + show-progress: true - name: Check go mod tidy is up to date run: go mod tidy && git diff --exit-code diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index e6a5ac87..3e284b49 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -81,9 +81,10 @@ jobs: steps: - name: Check out the repo uses: actions/checkout@v4 - fetch-depth: 50 - fetch-tags: true - show-progress: true + with: + fetch-depth: 50 + fetch-tags: true + show-progress: true - name: Log in to Docker Hub uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9