6 description: 'Git url of a rustfmt fork to compare against the latest master rustfmt'
9 description: 'Name of the feature branch on the forked repo'
12 description: 'Optional commit hash from the feature branch'
15 description: 'Optional comma separated list of rustfmt config options to pass when running the feature branch'
20 runs-on: ubuntu-latest
24 uses: actions/checkout@v3
26 - name: install rustup
28 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup-init.sh
29 sh rustup-init.sh -y --default-toolchain none
30 rustup target add x86_64-unknown-linux-gnu
33 run: bash ${GITHUB_WORKSPACE}/ci/check_diff.sh ${{ github.event.inputs.clone_url }} ${{ github.event.inputs.branch_name }} ${{ github.event.inputs.commit_hash }} ${{ github.event.inputs.rustfmt_configs }}