FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeql/.github/workflows/swift.yml at codeql-cli-2.27.1 · github/codeql · GitHub
github
/
codeql
Public
Notifications
You must be signed in to change notification settings
Fork
2.1k
Star
10.1k
Code
Issues
1k
Pull requests
470
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codeql
/
.github
/
workflows
/
swift.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
82 lines (78 loc) · 2.17 KB
Breadcrumbs
codeql
/
.github
/
workflows
/
swift.yml
Copy path
File metadata and controls
82 lines (78 loc) · 2.17 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name
:
"
Swift
"
on
:
pull_request
:
paths
:
-
"
swift/**
"
-
"
misc/bazel/**
"
-
"
misc/codegen/**
"
-
"
shared/**
"
-
"
*.bazel*
"
-
.github/workflows/swift.yml
-
.github/actions/**
-
codeql-workspace.yml
-
.pre-commit-config.yaml
-
"
!**/*.md
"
-
"
!**/*.qhelp
"
branches
:
-
main
-
rc/*
-
codeql-cli-*
permissions
:
contents
:
read
defaults
:
run
:
shell
:
bash
working-directory
:
swift
jobs
:
build-and-test
:
if
:
github.repository_owner == 'github'
strategy
:
matrix
:
runner
:
[ubuntu-latest, macos-15-xlarge]
fail-fast
:
false
runs-on
:
${{ matrix.runner }}
steps
:
-
uses
:
actions/checkout@v5
-
name
:
Setup (Linux)
if
:
runner.os == 'Linux'
run
:
|
sudo apt-get update
sudo apt-get install -y uuid-dev zlib1g-dev
-
name
:
Build Swift extractor
shell
:
bash
run
:
|
bazel run :install
-
name
:
Run Swift tests
shell
:
bash
run
:
|
bazel test ... --test_tag_filters=-override --test_output=errors
clang-format
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v5
-
uses
:
pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
name
:
Check that python code is properly formatted
with
:
extra_args
:
clang-format --all-files
codegen
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v5
-
uses
:
./.github/actions/fetch-codeql
-
uses
:
pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
name
:
Check that QL generated code was checked in
with
:
extra_args
:
swift-codegen --all-files
-
name
:
Generate C++ files
run
:
|
bazel run codegen -- --generate=trap,cpp --cpp-output=$PWD/generated-cpp-files
-
uses
:
actions/upload-artifact@v4
with
:
name
:
swift-generated-cpp-files
path
:
generated-cpp-files/**
check-no-override
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v5
-
name
:
Check that no override is present in load.bzl
run
:
bazel test ... --test_tag_filters=override --test_output=errors
Back
|
FazBrowse Home
|
New Git URL