Skip to content

Raise minimum Go version to 1.18 to work with goquery #160

Raise minimum Go version to 1.18 to work with goquery

Raise minimum Go version to 1.18 to work with goquery #160

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
paths:
- "**.go"
- "**.s"
- "**.mod"
- "**.sum"
pull_request:
branches: [ main ]
paths:
- "**.go"
- "**.s"
- "**.mod"
- "**.sum"
jobs:
build:
name: Build
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.operating-system }}
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.13
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: go get -v -t -d ./...
- name: Build
run: go build -v ./...
- name: Test
run: go test -v