Merge pull request #160 from Slackadays/temp1 #751
This file contains 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@v3 | |
- 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@v3 | |
- 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@v3 | |
- name: psscriptanalyzer | |
run: | | |
Install-Module -Name PSScriptAnalyzer -Force | |
Invoke-ScriptAnalyzer -Path install.ps1 |