Skip to content

Add package doc with meaning of bcrypt #437

Add package doc with meaning of bcrypt

Add package doc with meaning of bcrypt #437

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
test:
strategy:
fail-fast: false
matrix:
go-version: [1.17.x, 1.18.x, 1.19.x]
venv: [windows-2019, windows-2022]
fips: [1, 0]
runs-on: ${{ matrix.venv }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Set FIPS mode
run: REG ADD HKLM\SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy /v Enabled /t REG_DWORD /f /d ${{ matrix.fips }}
- name: Run Test - Short
run: go test -v -gcflags=all=-d=checkptr -count 1 ./...
env:
GO_TEST_FIPS: ${{ matrix.fips }}
- name: Run Test - Long
# Run each test 10 times so the garbage collector chimes in
# and exercises the multiple finalizers we use.
# This can detect use-after-free and double-free issues.
run: go test -v -gcflags=all=-d=checkptr -count 10 -short ./...
env:
GO_TEST_FIPS: ${{ matrix.fips }}