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
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ jobs:
#
project:
name: Project Checks
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
timeout-minutes: 5

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
path: src/github.com/containerd/continuity
fetch-depth: 100

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.17.x
go-version: 1.18.x

- uses: containerd/project-checks@v1
with:
Expand All @@ -39,13 +39,13 @@ jobs:

strategy:
matrix:
os: [ubuntu-18.04, macos-10.15, windows-2019]
os: [ubuntu-22.04, macos-10.15, windows-2019]

steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.17.x
go-version: 1.18.x

- name: Git line endings
shell: bash
Expand All @@ -54,13 +54,13 @@ jobs:
git config --global core.eol lf

- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: src/github.com/containerd/continuity
fetch-depth: 25

- name: Dependencies
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.45.2
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.50.1

- name: Lint
shell: bash
Expand All @@ -87,7 +87,7 @@ jobs:

cross:
name: Cross-compile
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
timeout-minutes: 10
needs: [project]

Expand All @@ -99,15 +99,15 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18

- name: Setup Go binary path
shell: bash
run: |
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH

- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: src/github.com/containerd/continuity

Expand Down
2 changes: 0 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
linters:
enable:
- structcheck
- varcheck
- staticcheck
- unconvert
- gofmt
Expand Down