chore: update tonic requirement from 0.12.3 to 0.14.5 in /server #186
Workflow file for this run
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: GitLeaks Secret Scan | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| gitleaks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Install gitleaks | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| VERSION="8.24.2" | |
| curl -sSL "https://github.com/gitleaks/gitleaks/releases/download/v${VERSION}/gitleaks_${VERSION}_linux_x64.tar.gz" -o gitleaks.tar.gz | |
| tar -xzf gitleaks.tar.gz gitleaks | |
| chmod +x gitleaks | |
| sudo mv gitleaks /usr/local/bin/gitleaks | |
| - name: Run gitleaks | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| if [ -f .gitleaks.toml ]; then | |
| gitleaks dir . --verbose --redact --config .gitleaks.toml | |
| else | |
| gitleaks dir . --verbose --redact | |
| fi |