Skip to content

Commit

Permalink
Older ubuntu versions (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov authored May 3, 2021
1 parent 5899c51 commit d2c8126
Showing 1 changed file with 5 additions and 22 deletions.
27 changes: 5 additions & 22 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,13 @@
name: Test
on: [push]
on: [ push ]
jobs:

# lint:
# runs-on: ubuntu-20.04
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-go@v2
# with:
# go-version: 1.14.x
#
# - name: Install dependencies
# run: sudo apt update && sudo apt install make libc-dev gcc g++
#
# - name: lint
# uses: golangci/golangci-lint-action@v1
# with:
# version: v1.29
# only-new-issues: true

test:
strategy:
matrix:
os: [ubuntu-20.04, macos-10.15] # list of os: https://github.com/actions/virtual-environments
# os: [ubuntu-20.04, macos-10.15, windows-latest] # list of os: https://github.com/actions/virtual-environments
go: [ '1.15', '1.13' ]
os: [ ubuntu-16.04, ubuntu-18.04, ubuntu-20.04, macos-10.15 ] # list of os: https://github.com/actions/virtual-environments
# os: [ubuntu-20.04, macos-10.15, windows-latest] # list of os: https://github.com/actions/virtual-environments
go: [ '1.16', '1.13' ]
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -45,7 +28,7 @@ jobs:
key: go-${{ matrix.os }}-${{ matrix.go }}-${{ hashFiles('**/go.sum') }}

- name: Test
run: make test
run: cc --version && make test

- name: Race
run: make race

0 comments on commit d2c8126

Please sign in to comment.