diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 585106e92..6548fdd94 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -44,3 +44,19 @@ jobs: (cd ~ && GO111MODULE=on time go get mvdan.cc/sh/v3/cmd/shfmt@v$VERSION) - name: shfmt run: make shfmt + + deps: + name: deps + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: cache go mod and $GOCACHE + uses: actions/cache@v2 + with: + path: | + ~/go/pkg/mod + ~/.cache/go-build + key: ${{ runner.os }}-go.sum-${{ hashFiles('**/go.sum') }} + restore-keys: ${{ runner.os }}-go.sum- + - name: verify deps + run: make verify-dependencies diff --git a/.travis.yml b/.travis.yml index f62f269d5..4a8ee4dfe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,10 +10,6 @@ cache: - /home/travis/.vagrant.d/boxes jobs: include: - - go: 1.15.x - name: "verify-dependencies" - script: - - make verify-dependencies - go: 1.15.x name: "cgroup-systemd" env: