Speed up completion: tab-delimited wire format + two-tier cache #30
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.sha }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| emacs_version: ['28.2', '29.4', '30.1'] | |
| include: | |
| - os: macos-latest | |
| emacs_version: '30.1' | |
| steps: | |
| - name: Set up Emacs | |
| uses: jcs090218/setup-emacs@v3 | |
| with: | |
| version: ${{ matrix.emacs_version }} | |
| - name: Install Eldev | |
| run: curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/github-eldev | sh | |
| - name: Check out the source code | |
| uses: actions/checkout@v6 | |
| - name: Byte-compile | |
| run: eldev -dtT compile --warnings-as-errors | |
| - name: Run tests | |
| run: eldev -dtT test | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up Emacs | |
| uses: jcs090218/setup-emacs@v3 | |
| with: | |
| version: '30.1' | |
| - name: Install Eldev | |
| run: curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/github-eldev | sh | |
| - name: Check out the source code | |
| uses: actions/checkout@v6 | |
| - name: Lint (checkdoc, package-lint, relint) | |
| run: eldev -dtT lint --required |