Fix multiple bugs: resource leaks, UB, logic errors, and CI fixes #933
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: Clipboard Linting | |
| on: [ push, pull_request ] | |
| jobs: | |
| clang-format: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: clang-format | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y clang-format-15 | |
| sh src/clang-format-check.sh | |
| shellcheck: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: shellcheck | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y shellcheck | |
| sh src/shellcheck.sh | |
| psscriptanalyzer: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: psscriptanalyzer | |
| run: | | |
| Install-Module -Name PSScriptAnalyzer -Force | |
| Invoke-ScriptAnalyzer -Path install.ps1 |