mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
ci: move verify-deps from travis to github actions
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user