Skip to content

Commit

Permalink
Merge pull request #249 from austinvazquez/upgrade-gha-runner
Browse files Browse the repository at this point in the history
Upgrade GitHub actions CI workflow
  • Loading branch information
AkihiroSuda authored Oct 27, 2022
2 parents ed6600a + 08db267 commit fe7323f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
#
project:
name: Project Checks
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
timeout-minutes: 5

steps:
#
# Install Go
#
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: '1.19.x'

Expand All @@ -37,13 +37,13 @@ jobs:
# Checkout repos
#
- name: Checkout cgroups
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: src/github.com/containerd/cgroups
fetch-depth: 25

- name: Checkout common project repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: containerd/project
path: src/github.com/containerd/project
Expand Down Expand Up @@ -87,12 +87,13 @@ jobs:

strategy:
matrix:
os: [ubuntu-18.04, ubuntu-22.04]
# Ubuntu-20.04 has cgroups v1 default; Ubuntu-22.04 has cgroups v2 default.
os: [ubuntu-20.04, ubuntu-22.04]

runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: '1.19.x'

Expand All @@ -103,7 +104,7 @@ jobs:
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- name: Checkout cgroups
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: src/github.com/containerd/cgroups

Expand Down

0 comments on commit fe7323f

Please sign in to comment.