-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (39 loc) · 1.05 KB
/
check.yml
File metadata and controls
47 lines (39 loc) · 1.05 KB
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: check
"on":
pull_request:
workflow_dispatch:
permissions:
id-token: write
contents: write
# this allows a subsequently queued workflow run to interrupt previous runs in pull requests only
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 25
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install mise
uses: taiki-e/install-action@v2
with:
tool: mise
- name: Install LibClang needed for cargo-spellcheck
run: |
sudo apt-get update
sudo apt-get install -y libclang-dev
- name: Install mise tools
run: |
mise settings add idiomatic_version_file_enable_tools "[]"
mise settings experimental=true
mise install
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Run checkers
run: |
mise run check