Skip to content

Commit

Permalink
ci(release): re-order no_diff steps
Browse files Browse the repository at this point in the history
Signed-off-by: Universal Studio <[email protected]>
  • Loading branch information
TMUniversal committed Feb 8, 2024
1 parent dbc2f0e commit 1d82989
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ jobs:
check-latest: true
cache-dependency-path: "**/*.sum"

- name: Run `go mod tidy` and abort if changes were made
run: go mod tidy -v && git diff --exit-code || (echo "go mod tidy made changes" && exit 1)

- name: Install Task
uses: arduino/setup-task@b91d5d2c96a56797b48ac1e0e89220bf64044611 # 2.0.0
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Run `go mod tidy` and abort if changes were made
run: go mod tidy -v && git diff --exit-code || (echo "go mod tidy made changes" && exit 1)

- name: Install go-licenses
run: go install github.com/google/go-licenses@latest

Expand Down

0 comments on commit 1d82989

Please sign in to comment.