Merge pull request #114 from purcell/dependabot/github_actions/action… #199
Workflow file for this run
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: | |
| pull_request: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: purcell/setup-emacs@master | |
| with: | |
| version: 30.1 | |
| - uses: actions/checkout@v5 | |
| - name: Run tests | |
| run: make package-lint | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| emacs_version: | |
| - 27.2 | |
| - 28.1 | |
| - 28.2 | |
| - 29.1 | |
| - 29.3 | |
| - 30.1 | |
| - release-snapshot | |
| - snapshot | |
| steps: | |
| - uses: cachix/install-nix-action@v31 | |
| with: | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| - uses: purcell/setup-emacs@master | |
| with: | |
| version: ${{ matrix.emacs_version }} | |
| - uses: actions/checkout@v5 | |
| - name: Install deps for tests | |
| run: nix profile install 'nixpkgs#direnv' | |
| - name: Run tests | |
| run: make compile test |