Fix driver notifications and remove RHEL 8 builder #3610
Workflow file for this run
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: Lint | |
on: [pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# fetch all to allow linting of differences between branches | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
- uses: mfinelli/setup-shfmt@v2 | |
- name: Install actionlint | |
run: | | |
# Install actionlint to ~/bin/, otherwise pre-commit won't be able to find the executable. | |
GOBIN="${HOME}/bin/" go install github.com/rhysd/actionlint/cmd/actionlint@latest | |
- uses: pre-commit/[email protected] | |
with: | |
# ensure we're only linting the diff between the PR and the base ref | |
extra_args: --from-ref origin/${{ github.event.pull_request.base.ref }} --to-ref HEAD |