FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
sourcegraph/.github/workflows/licenses-check.yml at main · morgante/sourcegraph · GitHub
morgante
/
sourcegraph
Public
forked from
efritz/sourcegraph
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
sourcegraph
/
.github
/
workflows
/
licenses-check.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
43 lines (39 loc) · 1.35 KB
Breadcrumbs
sourcegraph
/
.github
/
workflows
/
licenses-check.yml
Copy path
File metadata and controls
43 lines (39 loc) · 1.35 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
35
36
37
38
39
40
41
42
43
name
:
Licenses Check
on
:
[pull_request]
jobs
:
check
:
runs-on
:
ubuntu-latest
steps
:
#
set up correct version of node
-
name
:
Setup Node
id
:
node-setup
run
:
echo "NODE_VERSION=20.8.1" >> ${GITHUB_OUTPUT}
-
uses
:
actions/setup-node@v2
with
:
{ node-version: "${{ steps.node-setup.outputs.NODE_VERSION }}" }
-
uses
:
actions/checkout@v3
-
uses
:
pnpm/action-setup@v2
id
:
pnpm-install
with
:
version
:
8.9.2
run_install
:
false
-
name
:
Get pnpm store directory
id
:
pnpm-cache
shell
:
bash
run
:
|
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
-
uses
:
actions/cache@v3
name
:
Setup pnpm cache
with
:
path
:
${{ steps.pnpm-cache.outputs.STORE_PATH }}
key
:
${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys
:
|
${{ runner.os }}-pnpm-store-
-
uses
:
ruby/setup-ruby@v1
with
:
ruby-version
:
"
3.2.2
"
#
Not needed with a .ruby-version file - uses: actions/setup-ruby@v1
-
uses
:
actions/setup-go@v2
with
:
{ go-version: "1.20" }
-
name
:
Install license_finder
run
:
gem install license_finder:7.1.0
#
sync with licenses-update.yml
-
name
:
Check dependencies
run
:
LICENSE_CHECK=true ./dev/licenses.sh
Back
|
FazBrowse Home
|
New Git URL