Skip to content

Commit cd5149b

Browse files
committed
clean up
1 parent 9c215ff commit cd5149b

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/check-test.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
# This action runs lint checks and tests against the code.
22
name: Check and Test
33

4-
# Controls when the action will run.
54
on:
65
pull_request:
76

8-
# Allows you to run this workflow manually from the Actions tab
97
workflow_dispatch:
108
push:
119
branches:
@@ -18,7 +16,6 @@ concurrency:
1816
group: ${{ github.workflow }}-${{ github.ref }}
1917
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
2018

21-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
2219
jobs:
2320
check-and-test:
2421
name: Check and Test
@@ -28,10 +25,8 @@ jobs:
2825
strategy:
2926
matrix:
3027
os: [ubuntu-latest, windows-latest, macos-latest]
31-
3228
fail-fast: false
3329

34-
# The type of runner that the job will run on
3530
runs-on: ${{ matrix.os }}
3631

3732
# Steps represent a sequence of tasks that will be executed as part of the job
@@ -51,11 +46,11 @@ jobs:
5146
if: ${{ runner.os == 'Linux' }}
5247
run: sudo apt-get -y update && sudo apt-get -y install libkrb5-dev libsecret-1-dev net-tools libstdc++6 gnome-keyring
5348

54-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
5549
- name: Checkout
5650
uses: actions/checkout@v4
5751
with:
5852
fetch-depth: 0
53+
ref: ${{ github.event.pull_request.head.sha }}
5954

6055
- name: Setup Node.js
6156
uses: actions/setup-node@v4
@@ -95,9 +90,6 @@ jobs:
9590
shell: bash
9691

9792
- name: Run Checks
98-
# We exclude dependents when running eslint and depchecks because
99-
# linting and dependency checking is relevant only for packages where
100-
# the source code was changed
10193
run: npm run check-ci -- --stream
10294
shell: bash
10395

0 commit comments

Comments
 (0)