update go to 1.21 #39
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 Lint | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
pull_request: | |
jobs: | |
licenses-lint: | |
name: Licenses Lint | |
timeout-minutes: 40 | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.20.x | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: generate license mirror | |
run: | | |
make licenses-check | |
- name: lint-licenses | |
# if restricted > 0, CI will report an error. | |
run: | | |
make lint-licenses |