Repository navigation
Improve GitHub landing quickstart clarity #28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| windows: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Gitleaks | |
| shell: pwsh | |
| run: | | |
| go install github.com/zricethezav/gitleaks/v8@latest | |
| "$env:USERPROFILE\go\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | |
| & "$env:USERPROFILE\go\bin\gitleaks.exe" version | |
| - name: Run PowerShell regulation regression tests | |
| shell: pwsh | |
| run: ./scripts/tests/run-regulation-tests.ps1 | |
| ubuntu: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Gitleaks | |
| run: | | |
| go install github.com/zricethezav/gitleaks/v8@latest | |
| echo "$HOME/go/bin" >> "$GITHUB_PATH" | |
| "$HOME/go/bin/gitleaks" version | |
| - name: Run bash regulation regression tests | |
| run: | | |
| chmod +x scripts/*.sh scripts/tests/*.sh | |
| ./scripts/tests/run-regulation-tests.sh |