Skip to content

Bump github.com/git-pkgs/purl from 0.1.12 to 0.1.13 (#130) #223

Bump github.com/git-pkgs/purl from 0.1.12 to 0.1.13 (#130)

Bump github.com/git-pkgs/purl from 0.1.12 to 0.1.13 (#130) #223

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions: {}
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version-file: go.mod
# Windows Defender real-time scanning causes significant slowdown for
# I/O-heavy operations (temp file creation, process spawning, etc.)
# See: https://github.com/golang/go/issues/26055
- name: Disable Windows Defender real-time monitoring
if: runner.os == 'Windows'
shell: powershell
run: Set-MpPreference -DisableRealtimeMonitoring $true
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -race ./...
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version-file: go.mod
- name: golangci-lint
run: go tool golangci-lint run ./...