FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
code-server/.github/workflows/scripts.yaml at main · coder/code-server · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
coder
/
code-server
Public
Notifications
You must be signed in to change notification settings
Fork
6.8k
Star
79.1k
Code
Issues
143
Pull requests
8
Discussions
Actions
Projects
Security and quality
1
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
code-server
/
.github
/
workflows
/
scripts.yaml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
67 lines (57 loc) · 1.6 KB
Breadcrumbs
code-server
/
.github
/
workflows
/
scripts.yaml
Copy path
File metadata and controls
67 lines (57 loc) · 1.6 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name
:
Script unit tests
on
:
push
:
branches
:
-
main
paths
:
-
"
**.sh
"
-
"
**.bats
"
pull_request
:
branches
:
-
main
paths
:
-
"
**.sh
"
-
"
**.bats
"
permissions
:
actions
:
none
checks
:
none
contents
:
read
deployments
:
none
issues
:
none
packages
:
none
pull-requests
:
none
repository-projects
:
none
security-events
:
none
statuses
:
none
#
Cancel in-progress runs for pull requests when developers push
#
additional changes, and serialize builds in branches.
#
https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-concurrency-to-cancel-any-in-progress-job-or-run
concurrency
:
group
:
${{ github.workflow }}-${{ github.ref }}
cancel-in-progress
:
${{ github.event_name == 'pull_request' }}
jobs
:
test
:
name
:
Run script unit tests
runs-on
:
ubuntu-latest
#
This runs on Alpine to make sure we're testing with actual sh.
container
:
"
alpine:3.17
"
steps
:
-
name
:
Checkout repo
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
#
v6
-
name
:
Install test utilities
run
:
apk add bats checkbashisms
-
name
:
Check Bashisms
run
:
checkbashisms ./install.sh
-
name
:
Run script unit tests
run
:
./ci/dev/test-scripts.sh
lint
:
name
:
Lint shell files
runs-on
:
ubuntu-latest
timeout-minutes
:
5
steps
:
-
name
:
Checkout repo
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
#
v6
-
name
:
Install lint utilities
run
:
sudo apt install shellcheck
-
name
:
Lint shell files
run
:
./ci/dev/lint-scripts.sh
Back
|
FazBrowse Home
|
New Git URL