Skip to content

upgrade go-rod version and required changes #556

upgrade go-rod version and required changes

upgrade go-rod version and required changes #556

Workflow file for this run

name: Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:15
env:
POSTGRES_DB: sukyantestdb
POSTGRES_USER: sukyan
POSTGRES_PASSWORD: sukyantest1234
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
env:
POSTGRES_DSN: postgres://sukyan:sukyantest1234@localhost:5432/sukyantestdb
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./...
- name: Test with the Go CLI
run: go test -v ./...
- name: TruffleHog
uses: trufflesecurity/trufflehog@main
with:
extra_args: --only-verified