Bump golang.org/x/time from 0.6.0 to 0.7.0 (#3) #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: License Go | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
license-check: | |
runs-on: ubuntu-latest | |
name: License Check | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: ./go.mod | |
- name: Install go-licenses | |
run: go install github.com/google/go-licenses@latest | |
- name: Check licenses | |
run: go-licenses check ./... | |
license-report: | |
runs-on: ubuntu-latest | |
name: License Report | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: ./go.mod | |
- name: Install go-licenses | |
run: go install github.com/google/go-licenses@latest | |
- name: Report to GitHub Step Summary | |
run: > | |
go-licenses report ./... | |
--template .github/templates/go-licenses.md.tpl | |
>> $GITHUB_STEP_SUMMARY | |
shell: bash |