-
Notifications
You must be signed in to change notification settings - Fork 11
47 lines (41 loc) · 951 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
unix-test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
emacs-version:
- 27.2
- 28.1
- 29.3
- 29.4
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@v2
with:
tool: just@1.16.0
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs-version }}
- uses: cask/setup-cask@v1
with:
version: 0.9.0
- name: Install requirements
run: |
echo "$HOME/.cask/bin" >> $GITHUB_PATH
echo "$HOME/bin" >> $GITHUB_PATH
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.80.1
components: clippy, rustfmt
- name: Run tests
run: |
just build
just test