Skip to content

Commit 5c27e5b

Browse files
committed
Run precommit on GitHub Action runner
1 parent 7b2d00e commit 5c27e5b

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/precommit.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,10 @@ name: Precommit
33
on:
44
pull_request:
55

6-
concurrency:
7-
group: ${{ github.workflow }}-${{ github.ref }}
8-
cancel-in-progress: true
9-
106
jobs:
117
test:
128
name: Precommit
13-
runs-on: X64
14-
if: github.repository_owner == 'deepmodeling'
9+
runs-on: ubuntu-latest
1510
container:
1611
image: ghcr.io/deepmodeling/abacus-gnu
1712
volumes:

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ jobs:
2626
- name: Install CI tools
2727
run: |
2828
sudo apt-get update
29-
sudo apt-get install -y ccache ca-certificates python-is-python3 python3-pip
30-
sudo pip install clang-format clang-tidy
29+
sudo apt-get install -y ccache ca-certificates python-is-python3
3130
3231
- name: Configure
3332
run: |

0 commit comments

Comments
 (0)