diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fcd688e52..b3adb9389 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,23 @@ env: GO_VERSION: 1.17 jobs: + check: + name: Check + timeout-minutes: 10 + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + with: + fetch-depth: 1 + + - name: Check large files + uses: actionsdesk/lfs-warning@v3.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + filesizelimit: "0.1MB" + test: name: Test timeout-minutes: 30 @@ -46,7 +63,7 @@ jobs: name: Build timeout-minutes: 10 runs-on: ubuntu-latest - needs: [test] + needs: [test, check] steps: - name: Set up Go uses: actions/setup-go@v2