-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (29 loc) · 891 Bytes
/
check.yml
File metadata and controls
34 lines (29 loc) · 891 Bytes
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
# workflow which lints and checks the rust code on every push and pull request
name: Check
on:
push:
jobs:
unified:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
- name: checkout
uses: actions/checkout@v6
# https://github.com/actions/setup-go
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: "go.mod"
# https://github.com/actions/setup-python
- name: setup python
uses: actions/setup-python@v6
with:
python-version: ">=3.14"
# https://github.com/pre-commit/action
- name: run pre-commit
uses: pre-commit/action@v3.0.1
env:
SKIP: no-commit-to-branch,golangci-lint-full
# https://github.com/golangci/golangci-lint-action
- name: golangci-lint
uses: golangci/golangci-lint-action@v9