Merge pull request #68 from emanuele-em/dependabot/cargo/openssl-0.10.60 #20
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: autofix.ci | |
on: | |
pull_request: | |
push: | |
branches: [ "master" ] | |
permissions: | |
contents: read | |
env: | |
rust_clippy: "1.73" | |
jobs: | |
autofix: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
- os: macos-latest | |
- os: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup toolchain install ${{ env.rust_clippy }} --profile minimal --component rustfmt --component clippy | |
- name: Install dependecies (Ubuntu only) | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt-get update | |
sudo apt-get install pkg-config libgtk-3-dev libsoup2.4-dev libjavascriptcoregtk-4.0-dev libwebkit2gtk-4.0-dev | |
- run: rustup default ${{ env.rust_clippy }} | |
- run: cargo clippy --fix --workspace | |
- run: cargo fmt --all | |
- uses: autofix-ci/action@d3e591514b99d0fca6779455ff8338516663f7cc |