diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cb1e847..51ec954 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,16 +15,16 @@ jobs: if: ${{ matrix.os == 'ubuntu-latest' }} run: sudo apt-get update && sudo apt-get install libgl1-mesa-dev + - name: Check out module + uses: actions/checkout@v2 + with: + fetch-depth: 1 + - name: Set up Go uses: actions/setup-go@v5 with: go-version: ${{matrix.go-version}} go-version-file: go.mod - - name: Check out module - uses: actions/checkout@v2 - with: - fetch-depth: 1 - - name: Run tests run: go test -v -race ./...