Skip to content

Commit

Permalink
Improve GitHub workflow (#1279)
Browse files Browse the repository at this point in the history
Add Go 1.16 to ensure compatibility with older Go versions (see #1277).
  • Loading branch information
alexandear committed Mar 17, 2023
1 parent 830eeb3 commit d7670e7
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/test.yml
Expand Up @@ -2,19 +2,22 @@ on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.16.x, oldstable, stable]
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.18.x
go-version: ${{ matrix.go-version }}
- name: Install Packages
run: |
sudo apt-get -qq update
sudo apt-get install -y build-essential
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: |
TMPDIR=$RUNNER_TEMP go test -v ./...
./contrib/docker-test.sh
uses: actions/checkout@v3
- name: Test Chrome
run: go test -v ./...
- name: Test headless-shell
run: ./contrib/docker-test.sh

0 comments on commit d7670e7

Please sign in to comment.