fork/wpaperd
git clone https://git.julia.blue/fork/wpaperd
d13fb27
0.2.0
1on : [ push , pull_request ] 2 3name : Continuous integration 4 5jobs : 6check : 7name : Check 8runs-on : ubuntu-latest 9steps : 10- uses : actions/checkout@v2 11- name : Install dependencies 12run : 13sudo apt-get install --yes libxkbcommon-x11-dev 14- uses : actions-rs/toolchain@v1 15with : 16profile : minimal 17toolchain : stable 18override : true 19- uses : actions-rs/cargo@v1 20with : 21command : check 22 23test : 24name : Test Suite 25runs-on : ubuntu-latest 26steps : 27- uses : actions/checkout@v2 28- name : Install dependencies 29run : 30sudo apt-get install --yes libxkbcommon-x11-dev 31- uses : actions-rs/toolchain@v1 32with : 33profile : minimal 34toolchain : stable 35override : true 36- uses : actions-rs/cargo@v1 37with : 38command : test 39 40fmt : 41name : Rustfmt 42runs-on : ubuntu-latest 43steps : 44- uses : actions/checkout@v2 45- uses : actions-rs/toolchain@v1 46with : 47profile : minimal 48toolchain : stable 49override : true 50- run : rustup component add rustfmt 51- uses : actions-rs/cargo@v1 52with : 53command : fmt 54args : --all -- --check 55 56clippy : 57name : Clippy 58runs-on : ubuntu-latest 59permissions : 60contents : read 61security-events : write 62steps : 63- name : Checkout code 64uses : actions/checkout@v2 65 66- name : Install Rust toolchain 67uses : actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #@v1 68with : 69profile : minimal 70toolchain : stable 71components : clippy 72override : true 73 74- name : Install required cargo 75run : cargo install clippy-sarif sarif-fmt 76 77- name : Run rust-clippy 78run : 79cargo clippy 80--all-features 81--message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt 82continue-on-error : true 83 84- name : Upload analysis results to GitHub 85uses : github/codeql-action/upload-sarif@v1 86with : 87sarif_file : rust-clippy-results.sarif 88wait-for-processing : true 89 90audit : 91name : Audit 92runs-on : ubuntu-latest 93steps : 94- uses : actions/checkout@v2 95- uses : actions-rs/toolchain@v1 96with : 97profile : minimal 98toolchain : stable 99override : true 100- name : Install cargo-audit binary crate 101uses : actions-rs/install@v0.1 102with : 103crate : cargo-audit 104version : latest 105use-tool-cache : true 106- name : Security audit 107uses : actions-rs/audit-check@v1 108with : 109token : ${{ secrets.GITHUB_TOKEN }}