Skip to content

Commit 68b6d72

Browse files
committed
Update CI
* remove `CI` env variable; it's already set by the runner * update to actions/setup-node@v2 * specify `FORCE_COLOR: 2` * update codeql.yml to the latest recommended
1 parent c4f1c68 commit 68b6d72

2 files changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: CI
2+
23
on: [push, pull_request]
4+
35
env:
4-
CI: true
6+
FORCE_COLOR: 2
57
NODE: 14.x
68
RUBY: 2.7
79

@@ -14,7 +16,7 @@ jobs:
1416
uses: actions/checkout@v2
1517

1618
- name: Set up Node.js
17-
uses: actions/setup-node@v1
19+
uses: actions/setup-node@v2
1820
with:
1921
node-version: "${{ env.NODE }}"
2022

.github/workflows/codeql.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,6 @@ jobs:
1919
steps:
2020
- name: Checkout repository
2121
uses: actions/checkout@v2
22-
with:
23-
# We must fetch at least the immediate parents so that if this is
24-
# a pull request then we can checkout the head.
25-
fetch-depth: 2
26-
27-
# If this run was triggered by a pull request event, then checkout
28-
# the head of the pull request instead of the merge commit.
29-
- run: git checkout HEAD^2
30-
if: ${{ github.event_name == 'pull_request' }}
3122

3223
# Initializes the CodeQL tools for scanning.
3324
- name: Initialize CodeQL

0 commit comments

Comments
 (0)