fork/oculante
git clone https://git.julia.blue/fork/oculante
4860fb4
0.8.22
1# This workflow uses actions that are not certified by GitHub. 2# They are provided by a third-party and are governed by 3# separate terms of service, privacy policy, and support 4# documentation. 5# rust-clippy is a tool that runs a bunch of lints to catch common 6# mistakes in your Rust code and help improve your Rust code. 7# More details at https://github.com/rust-lang/rust-clippy 8# and https://rust-lang.github.io/rust-clippy/ 9 10name : rust-clippy analyze 11 12on : 13push : 14branches : [ "master" ] 15pull_request : 16# The branches below must be a subset of the branches above 17branches : [ "master" ] 18schedule : 19- cron : '28 16 * * 6' 20 21jobs : 22rust-clippy-analyze : 23name : Run rust-clippy analyzing 24runs-on : ubuntu-latest 25permissions : 26contents : read 27security-events : write 28actions : read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status 29steps : 30- name : Checkout code 31uses : actions/checkout@v2 32 33- name : Install Rust toolchain 34uses : actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #@v1 35with : 36profile : minimal 37toolchain : stable 38components : clippy 39override : true 40 41- name : Patch azure linux deps 42run : sudo apt update 43 44- name : Install linux deps 45run : sudo apt-get install libxcb-shape0-dev libxcb-xfixes0-dev libgtk-3-dev libasound2-dev nasm meson ninja-build libdav1d-dev dav1d 46 47- name : Install required cargo 48run : cargo install clippy-sarif sarif-fmt 49 50- name : Run rust-clippy 51run : 52cargo clippy 53--all-features 54--message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt 55continue-on-error : true 56 57- name : Upload analysis results to GitHub 58uses : github/codeql-action/upload-sarif@v1 59with : 60sarif_file : rust-clippy-results.sarif 61wait-for-processing : true