Use current timestamp even with non-randomized samples #69
Workflow file for this run
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 check | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
license-check: | |
name: License check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Cache licenses | |
uses: actions/cache@v3 | |
with: | |
key: licensei-v2-${{ hashFiles('go.sum') }} | |
path: | | |
.licensei.cache | |
restore-keys: | | |
licensei-v2 | |
- name: Download license information for dependencies | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
run: make license-cache | |
- name: Check licenses | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
run: make license-check |