Skip to content

Rename variable to avoid using url package name (#10) #19

Rename variable to avoid using url package name (#10)

Rename variable to avoid using url package name (#10) #19

Workflow file for this run

name: Lint and Test
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
env:
GOPRIVATE: "github.com/Invisv-Privacy/*"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
working-directory: ./
args: --timeout 5m
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21
- name: Test
# Force tests to run sequentially to avoid docker resource contention
run: go test -v -p 1 ./...