Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 21 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@ jobs:

checks:
name: Project Checks
runs-on: ubuntu-18.04
runs-on: ${{ matrix.os }}
timeout-minutes: 5

strategy:
matrix:
go-version: [1.16.x, 1.17.x]
os: [ubuntu-18.04]

steps:
- uses: actions/setup-go@v2
with:
go-version: 1.16.x
go-version: ${{ matrix.go-version }}

- name: Set env
shell: bash
Expand All @@ -40,10 +45,14 @@ jobs:

strategy:
matrix:
go-version: [1.16.x]
go-version: [1.17.x]
os: [ubuntu-18.04]

steps:
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}

- uses: actions/checkout@v2
with:
path: src/github.com/containerd/go-runc
Expand All @@ -58,20 +67,27 @@ jobs:
with:
version: v1.29
working-directory: src/github.com/containerd/go-runc
args: --timeout=5m
skip-go-installation: true

tests:
name: Tests
runs-on: ubuntu-18.04
runs-on: ${{ matrix.os }}
timeout-minutes: 5

strategy:
matrix:
go-version: [1.16.x, 1.17.x]
os: [ubuntu-18.04]

steps:
- uses: actions/checkout@v2
with:
path: src/github.com/containerd/go-runc

- uses: actions/setup-go@v2
with:
go-version: 1.16.x
go-version: ${{ matrix.go-version }}

- name: Set env
shell: bash
Expand Down
1 change: 1 addition & 0 deletions command_other.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !linux
// +build !linux

/*
Expand Down
1 change: 1 addition & 0 deletions console.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows

/*
Expand Down
1 change: 1 addition & 0 deletions io_unix.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows

/*
Expand Down
1 change: 1 addition & 0 deletions io_windows.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

/*
Expand Down