user/plan9port: add update check #9990
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 tree and check format | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'main/**' | |
- 'contrib/**' | |
- 'user/**' | |
- 'src/**' | |
pull_request: | |
branches: | |
- master | |
paths: | |
- 'main/**' | |
- 'contrib/**' | |
- 'user/**' | |
- 'src/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
PYTHONUNBUFFERED: 1 | |
jobs: | |
lint: | |
name: Lint tree and check format | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: classabbyamp/treeless-checkout-action@v1 | |
- name: Install python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install ruff | |
run: sudo pip3 install ruff --break-system-packages | |
- name: Install apt dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install --no-install-recommends ca-certificates openssl git bubblewrap wget | |
- name: Set up cbuild configuration | |
run: sh .ci/setup-cbuild.sh | |
- name: Run checks and lints | |
run: sh .ci/lint.sh |