fork/static-web-server
git clone https://git.julia.blue/fork/static-web-server
1c4929d
allow-symlink
1name : code-analyzer 2on : 3push : 4branches : 5- master 6paths : 7- .github/workflows/devel.yml 8- .github/workflows/devel.code-analyzer.yml 9- .cargo/config.toml 10- Cargo.lock 11- Cargo.toml 12- src/** 13- tests/** 14merge_group : 15branches : 16- master 17pull_request : 18branches : 19- master 20paths : 21- .github/workflows/devel.yml 22- .github/workflows/devel.code-analyzer.yml 23- .cargo/config.toml 24- Cargo.lock 25- Cargo.toml 26- src/** 27- tests/** 28schedule : 29- cron : '20 02 * * 1' # Runs at 02:20, only on Monday 30 31jobs : 32analyze : 33name : analyze 34runs-on : ubuntu-22.04 35permissions : 36contents : read 37security-events : write 38actions : read 39 40steps : 41- name : Checkout repository 42uses : actions/checkout@v4 43with : 44fetch-depth : 1 45 46- name : Install stable toolchain 47uses : dtolnay/rust-toolchain@stable 48with : 49toolchain : stable 50components : rustfmt, clippy 51 52- name : Install crates 53run : cargo install clippy-sarif sarif-fmt 54 55- name : Run clippy 56continue-on-error : true 57run : | 58cargo clippy --all-features --message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt 59 60- name : Upload analysis results to GitHub 61uses : github/codeql-action/upload-sarif@v3 62with : 63sarif_file : rust-clippy-results.sarif 64wait-for-processing : true