ci: move verify-deps from travis to github actions

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2020-11-19 17:49:14 -08:00
parent c60f23b335
commit 33bda24ac3
2 changed files with 16 additions and 4 deletions
+16
View File
@@ -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
-4
View File
@@ -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: