This repository has been archived by the owner on May 6, 2024. It is now read-only.
Bump github.com/opencontainers/runc from 1.0.2 to 1.1.5 #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
pull_request: {} | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '^1.17' | |
- name: Cache go-build and mod | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cache/go-build/ | |
~/go/pkg/mod/ | |
key: ${{ hashFiles('go.sum') }} | |
- name: Setup lint | |
run: | | |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.41.0 | |
- name: Lint | |
run: | | |
golangci-lint run --exclude-use-default=false --timeout=5m0s | |
- name: Test | |
run: | | |
PATH=$PATH:$(go env GOPATH)/bin go test ./... |