Update CI build matrix

This commit is contained in:
Michael Steinert
2022-08-03 16:07:21 -05:00
parent 39406aafe4
commit f401703daf

View File

@@ -4,12 +4,12 @@ jobs:
test:
strategy:
matrix:
go-version: [1.16.x, 1.17.x]
go-version: [1.18.x, 1.19.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Install PAM
@@ -17,6 +17,6 @@ jobs:
- name: Add a test user
run: sudo useradd -d /tmp/test -p '$1$Qd8H95T5$RYSZQeoFbEB.gS19zS99A0' -s /bin/false test
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Test
run: sudo go test -v ./...