Skip to content

chore(deps): bump github.com/PuerkitoBio/goquery from 1.9.0 to 1.9.1 #133

chore(deps): bump github.com/PuerkitoBio/goquery from 1.9.0 to 1.9.1

chore(deps): bump github.com/PuerkitoBio/goquery from 1.9.0 to 1.9.1 #133

Workflow file for this run

# See more at: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
name: run-go-tests
env:
GO111MODULE: on
on:
pull_request:
branches:
- "*"
# schedule:
# - cron: '1 4 * * *'
jobs:
test:
strategy:
matrix:
go-version: [1.19.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install native deps
run: |
sudo apt update
sudo apt install gcc libgl1-mesa-dev xorg-dev -y
- name: Install Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
- name: Cache code
uses: actions/cache@v3
with:
path: |
~/go/pkg/mod # Module download cache
~/.cache/go-build # Build cache (Linux)
~/Library/Caches/go-build # Build cache (Mac)
'%LocalAppData%\go-build' # Build cache (Windows)
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run linter and tests
run: go test ./... -race -coverprofile=coverage.txt -covermode=atomic