From 895a1ac6a2f7db955cfd4ed3ee6a98c7cea21b39 Mon Sep 17 00:00:00 2001 From: Kenneth Shaw Date: Sat, 10 Sep 2022 05:18:31 +0700 Subject: [PATCH] Updating test workflow --- .github/workflows/test.yml | 17 ++++++----------- go.mod | 2 +- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b5ee9ba..f548bcd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,18 +1,13 @@ -on: [push, pull_request] name: Test +on: [push, pull_request] jobs: test: - strategy: - matrix: - go-version: [1.16.x] - platform: [ubuntu-latest] - runs-on: ${{ matrix.platform }} + name: Test + runs-on: ubuntu-latest steps: - name: Install Go - uses: actions/setup-go@v2 - with: - go-version: ${{ matrix.go-version }} + uses: actions/setup-go@v3 - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Test - run: TMPDIR=$RUNNER_TEMP go test -v ./... + run: go test -v ./... diff --git a/go.mod b/go.mod index 60421a1..638e669 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/chromedp/omahaproxy -go 1.17 +go 1.19 require github.com/kenshaw/httplog v0.4.1