diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cc21971b0..75ca8b11d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -64,11 +64,15 @@ jobs: uses: actions/setup-go@v4 with: go-version: 1.20.x + - name: Checkout code + uses: actions/checkout@v3 - name: generate license mirror - run: make mirror-licenses + run: | + make mirror-licenses - name: lint-licenses # if restricted > 0, CI will report an error. - run: make lint-licenses | grep -q 'restricted, [1-9][0-9]*' && exit 1 || true + run: | + make lint-licenses | grep -q 'restricted, [1-9][0-9]*' && exit 1 || true test: name: Unit test runs-on: ubuntu-22.04