summaryrefslogtreecommitdiff
path: root/.github/workflows/pre-commit.yml
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2022-12-08 10:11:21 +0700
committerGitHub <[email protected]>2022-12-08 10:11:21 +0700
commitab8cfb3d5bbefcc3ff19a086070b0c83581d789d (patch)
treefba72b211c02928ebfb612fa651ae61c24601121 /.github/workflows/pre-commit.yml
parentd9817ebe179e944e49b1fb4bd4844489ed732574 (diff)
parenta29b3dd690d4ccc9f3432ca5ec5d702b1ae80e78 (diff)
Merge pull request #1781 from hathach/update-unit-test
Update unit test
Diffstat (limited to '.github/workflows/pre-commit.yml')
-rw-r--r--.github/workflows/pre-commit.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index 2463903f8..96a59069b 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -1,8 +1,9 @@
name: pre-commit
on:
- pull_request:
push:
+ pull_request:
+ branches: [ master ]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -20,7 +21,7 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: '2.7'
+ ruby-version: '3.0'
- name: Checkout TinyUSB
uses: actions/checkout@v3
@@ -32,5 +33,5 @@ jobs:
run: |
# Install Ceedling
gem install ceedling
- cd test
+ cd test/unit-test
ceedling test:all \ No newline at end of file