Update to latest os for build and test

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan 2022-01-21 12:10:45 -08:00
parent f7a2e09ef8
commit ad4afc0343

View File

@ -65,7 +65,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-18.04, macos-10.15] os: [ubuntu-latest, macos-latest, windows-latest]
name: ${{ matrix.os }} name: ${{ matrix.os }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
timeout-minutes: 5 timeout-minutes: 5
@ -84,11 +84,7 @@ jobs:
- name: Test - name: Test
working-directory: src/github.com/containerd/ttrpc working-directory: src/github.com/containerd/ttrpc
run: | run: |
go test -v -race -coverprofile=coverage.txt -covermode=atomic ./... go test -v -race ./...
- name: Codecov
run: bash <(curl -s https://codecov.io/bash)
working-directory: src/github.com/containerd/ttrpc
# #
# Run Protobuild # Run Protobuild