Bump goreleaser/goreleaser-action from f09f1a7bee7ae6b5153daf4e8c63cc8ce8c7e7d5 to 5742e2a039330cbb23ebf35f046f814d4c6ff811 #89
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: licenses check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
# github/licensed-ci | |
permissions: | |
pull-requests: write | |
contents: write | |
jobs: | |
licensed: | |
name: licensed check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- run: go version | |
- run: go mod vendor | |
# Ruby is required for licensed | |
- uses: ruby/setup-ruby@6bd3d993c602f6b675728ebaecb2b569ff86e99b | |
with: | |
ruby-version: "3.2" | |
- uses: github/setup-licensed@v1 | |
with: | |
version: 4.x | |
- uses: github/licensed-ci@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
workflow: branch | |
env: | |
GOFLAGS: "-mod=vendor" |