Skip to content

Commit

Permalink
Merge pull request #57 from austinvazquez/update-github-actions-ci-wo…
Browse files Browse the repository at this point in the history
…rkflow

Update GitHub actions CI workflow
  • Loading branch information
estesp authored Nov 21, 2022
2 parents 168a8ea + 7085f9c commit 7e123b2
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,31 @@ on:
jobs:
check:
name: Project checks
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: src/github.com/containerd/protobuild
fetch-depth: 25

- name: Project checks
uses: containerd/project-checks@v1
uses: containerd/project-checks@v1.1.0
with:
working-directory: src/github.com/containerd/protobuild

test:
name: Test
strategy:
matrix:
os: [ ubuntu-20.04, windows-2022 ]
os: [ ubuntu-22.04, windows-2022 ]
fail-fast: false
runs-on: ${{ matrix.os }}
timeout-minutes: 5
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: src/github.com/containerd/protobuild
fetch-depth: 25
Expand All @@ -45,7 +45,7 @@ jobs:
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: src/github.com/containerd/protobuild

Expand All @@ -56,12 +56,12 @@ jobs:
v1:
name: Run with protoc-gen-go v1.3.5
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.16.x
id: go
Expand All @@ -73,7 +73,7 @@ jobs:
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: src/github.com/containerd/protobuild

Expand Down Expand Up @@ -105,12 +105,12 @@ jobs:
v2:
name: Run with protoc-gen-go v1.26
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.16.x
id: go
Expand All @@ -122,7 +122,7 @@ jobs:
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: src/github.com/containerd/protobuild

Expand Down

0 comments on commit 7e123b2

Please sign in to comment.