Skip to content

Commit

Permalink
fix:Fixes a few yaml lint issues and moves to github/setup-licensed.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidtw committed Jun 18, 2024
1 parent 0167366 commit f883b65
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -531,14 +531,14 @@ jobs:
check-latest: ${{ inputs.go-version-latest }}
cache-dependency-path: ${{ inputs.working-directory }}

# setup ruby environment before running jonabc/setup-licensed
# setup ruby environment before running github/setup-licensed
- name: Setup Ruby
uses: ruby/setup-ruby@3783f195e29b74ae398d7caca108814bbafde90e # v1.180.1
with:
ruby-version: ruby

- name: Setup licensed
uses: jonabc/setup-licensed@d6b3a6f7058c2b40c06d205e13e15c2418977566 # v1.1.4
uses: github/setup-licensed@d6b3a6f7058c2b40c06d205e13e15c2418977566 #v1.1.4
with:
version: 4.x
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -1066,7 +1066,7 @@ jobs:
all_passed:
needs: [ build_program, unit_test, style, golint, license, copyright, release ]
needs: [ build_program, unit_test, style, golint, license, copyright, release, ymllint ]
if: always()
name: All checks passed check.
runs-on: [ubuntu-latest]
Expand All @@ -1079,6 +1079,7 @@ jobs:
needs.golint.result == 'failure' ||
needs.license.result == 'failure' ||
needs.copyright.result == 'failure' ||
needs.ymllint.result == 'failure' ||
needs.release.result == 'failure'
run: exit 1
- run: 'echo "✅ All required jobs have passed!"'

0 comments on commit f883b65

Please sign in to comment.