Skip to content

Commit d7fe7b9

Browse files
committed
Formatting
1 parent f1e8dbf commit d7fe7b9

File tree

13 files changed

+146
-146
lines changed

13 files changed

+146
-146
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: ''
4+
title: ""
55
labels: bug
66
assignees: fwal
7-
87
---
98

109
**Describe the bug**
1110
A clear and concise description of what the bug is.
1211

1312
**Workflow configuration (please complete the following information):**
14-
- Action version (`uses`): [e.g. swift-actions/setup-swift@v1]
15-
- Platform (`runs-on`): [e.g. ubuntu-latest]
16-
- Swift version (`swift-version`): [e.g. 5.7]
13+
14+
- Action version (`uses`): [e.g. swift-actions/setup-swift@v1]
15+
- Platform (`runs-on`): [e.g. ubuntu-latest]
16+
- Swift version (`swift-version`): [e.g. 5.7]

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ''
4+
title: ""
55
labels: enhancement
66
assignees: fwal
7-
87
---
98

109
**Is your feature request related to a problem? Please describe.**

.github/dependabot.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
version: 2
22
updates:
3-
- package-ecosystem: github-actions
4-
directory: "/"
5-
schedule:
6-
interval: daily
7-
time: "04:00"
8-
open-pull-requests-limit: 10
9-
reviewers:
10-
- fwal
11-
- package-ecosystem: npm
12-
directory: "/"
13-
schedule:
14-
interval: daily
15-
time: "04:00"
16-
open-pull-requests-limit: 10
17-
reviewers:
18-
- fwal
3+
- package-ecosystem: github-actions
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
time: "04:00"
8+
open-pull-requests-limit: 10
9+
reviewers:
10+
- fwal
11+
- package-ecosystem: npm
12+
directory: "/"
13+
schedule:
14+
interval: daily
15+
time: "04:00"
16+
open-pull-requests-limit: 10
17+
reviewers:
18+
- fwal

.github/release-drafter.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
name-template: '$RESOLVED_VERSION'
2-
tag-template: 'v$RESOLVED_VERSION'
1+
name-template: "$RESOLVED_VERSION"
2+
tag-template: "v$RESOLVED_VERSION"
33
exclude-labels:
4-
- 'tooling'
5-
- 'documentation'
4+
- "tooling"
5+
- "documentation"
66
categories:
7-
- title: 'Security'
8-
label: 'security'
9-
- title: 'Breaking changes'
10-
label: 'breaking'
11-
- title: 'Features'
12-
label: 'enhancement'
13-
- title: 'Fixes'
14-
label: 'bug'
15-
- title: 'Dependencies'
16-
label: 'dependencies'
7+
- title: "Security"
8+
label: "security"
9+
- title: "Breaking changes"
10+
label: "breaking"
11+
- title: "Features"
12+
label: "enhancement"
13+
- title: "Fixes"
14+
label: "bug"
15+
- title: "Dependencies"
16+
label: "dependencies"
1717
version-resolver:
1818
major:
1919
labels:
20-
- 'major'
21-
- 'breaking'
20+
- "major"
21+
- "breaking"
2222
minor:
2323
labels:
24-
- 'minor'
25-
- 'enhancement'
24+
- "minor"
25+
- "enhancement"
2626
patch:
2727
labels:
28-
- 'patch'
29-
- 'bug'
28+
- "patch"
29+
- "bug"
3030
default: patch
3131
template: |
3232
$CHANGES

.github/workflows/analysis.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ main ]
16+
branches: [main]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ main ]
19+
branches: [main]
2020
schedule:
21-
- cron: '27 8 * * 6'
21+
- cron: "27 8 * * 6"
2222

2323
jobs:
2424
analyze:
@@ -32,39 +32,39 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
language: [ 'javascript', 'typescript' ]
35+
language: ["javascript", "typescript"]
3636
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
3737
# Learn more about CodeQL language support at https://git.io/codeql-language-support
3838

3939
steps:
40-
- name: Checkout repository
41-
uses: actions/checkout@v4
40+
- name: Checkout repository
41+
uses: actions/checkout@v4
4242

43-
# Initializes the CodeQL tools for scanning.
44-
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v3
46-
with:
47-
languages: ${{ matrix.language }}
48-
# If you wish to specify custom queries, you can do so here or in a config file.
49-
# By default, queries listed here will override any specified in a config file.
50-
# Prefix the list here with "+" to use these queries and those in the config file.
51-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
43+
# Initializes the CodeQL tools for scanning.
44+
- name: Initialize CodeQL
45+
uses: github/codeql-action/init@v3
46+
with:
47+
languages: ${{ matrix.language }}
48+
# If you wish to specify custom queries, you can do so here or in a config file.
49+
# By default, queries listed here will override any specified in a config file.
50+
# Prefix the list here with "+" to use these queries and those in the config file.
51+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5252

53-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54-
# If this step fails, then you should remove it and run the build manually (see below)
55-
- name: Autobuild
56-
uses: github/codeql-action/autobuild@v3
53+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54+
# If this step fails, then you should remove it and run the build manually (see below)
55+
- name: Autobuild
56+
uses: github/codeql-action/autobuild@v3
5757

58-
# ℹ️ Command-line programs to run using the OS shell.
59-
# 📚 https://git.io/JvXDl
58+
# ℹ️ Command-line programs to run using the OS shell.
59+
# 📚 https://git.io/JvXDl
6060

61-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
62-
# and modify them (or add more) to build your code if your project
63-
# uses a compiled language
61+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
62+
# and modify them (or add more) to build your code if your project
63+
# uses a compiled language
6464

65-
#- run: |
66-
# make bootstrap
67-
# make release
65+
#- run: |
66+
# make bootstrap
67+
# make release
6868

69-
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@v3
69+
- name: Perform CodeQL Analysis
70+
uses: github/codeql-action/analyze@v3

.github/workflows/ci.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@ name: Tests
33
on:
44
push:
55
branches:
6-
- main
6+
- main
77
pull_request:
88
branches:
9-
- main
9+
- main
1010

1111
jobs:
1212
unit-test:
1313
name: Unit tests
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
17-
- name: Setup Node
18-
uses: actions/setup-node@v4
19-
with:
20-
node-version-file: '.nvmrc'
21-
- run: npm install
22-
- run: npm run format-check
23-
- run: npm test
16+
- uses: actions/checkout@v4
17+
- name: Setup Node
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version-file: ".nvmrc"
21+
- run: yarn
22+
- run: npm run format-check
23+
- run: npm test
2424
integration-test:
2525
name: Integrate Swift ${{ matrix.swift }} on ${{ matrix.os }}
2626
runs-on: ${{ matrix.os }}
@@ -29,18 +29,18 @@ jobs:
2929
os: [ubuntu-latest, macos-latest]
3030
swift: ["6.1.0"]
3131
include:
32-
- os: windows-latest
33-
swift: "5.6.3"
32+
- os: windows-latest
33+
swift: "5.6.3"
3434
steps:
35-
- uses: actions/checkout@v4
36-
- name: Setup Node
37-
uses: actions/setup-node@v4
38-
with:
39-
node-version-file: '.nvmrc'
40-
- run: npm install
41-
- run: npm run build && npm run pack-source-map
42-
- uses: ./
43-
with:
44-
swift-version: ${{ matrix.swift }}
45-
- name: Swift version
46-
run: swift --version | grep ${{ matrix.swift }} || exit 1
35+
- uses: actions/checkout@v4
36+
- name: Setup Node
37+
uses: actions/setup-node@v4
38+
with:
39+
node-version-file: ".nvmrc"
40+
- run: npm install
41+
- run: npm run build && npm run pack-source-map
42+
- uses: ./
43+
with:
44+
swift-version: ${{ matrix.swift }}
45+
- name: Swift version
46+
run: swift --version | grep ${{ matrix.swift }} || exit 1

.github/workflows/draft-release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
- name: Setup Node
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version-file: '.nvmrc'
19+
node-version-file: ".nvmrc"
2020

2121
- name: Update Release Draft
2222
id: release_draft
2323
uses: release-drafter/release-drafter@v6
2424
env:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
26+
2727
- name: Set version
2828
run: npm version ${{ steps.release_draft.outputs.name }} --allow-same-version true --git-tag-version false
2929

@@ -33,8 +33,7 @@ jobs:
3333
- name: Build
3434
run: npm run all
3535

36-
- name: Commit
36+
- name: Commit
3737
uses: EndBug/add-and-commit@v9
3838
with:
3939
push: origin main --force
40-

.github/workflows/stability.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Stability
22

33
on:
44
schedule:
5-
- cron: '0 */12 * * *'
5+
- cron: "0 */12 * * *"
66

77
jobs:
88
v1:
@@ -13,12 +13,12 @@ jobs:
1313
os: [ubuntu-latest, macos-latest]
1414
swift: ["5.10"]
1515
steps:
16-
- uses: swift-actions/setup-swift@v2
17-
with:
18-
swift-version: ${{ matrix.swift }}
19-
- name: Swift version
20-
if: always()
21-
run: swift --version | grep ${{ matrix.swift }} || exit 1
16+
- uses: swift-actions/setup-swift@v2
17+
with:
18+
swift-version: ${{ matrix.swift }}
19+
- name: Swift version
20+
if: always()
21+
run: swift --version | grep ${{ matrix.swift }} || exit 1
2222
main:
2323
name: "main: Swift ${{ matrix.swift }} on ${{ matrix.os }}"
2424
runs-on: ${{ matrix.os }}
@@ -27,9 +27,9 @@ jobs:
2727
os: [ubuntu-latest, macos-latest]
2828
swift: ["5.10"]
2929
steps:
30-
- uses: swift-actions/setup-swift@main
31-
with:
32-
swift-version: ${{ matrix.swift }}
33-
- name: Swift version
34-
if: always()
35-
run: swift --version | grep ${{ matrix.swift }} || exit 1
30+
- uses: swift-actions/setup-swift@main
31+
with:
32+
swift-version: ${{ matrix.swift }}
33+
- name: Swift version
34+
if: always()
35+
run: swift --version | grep ${{ matrix.swift }} || exit 1

.github/workflows/swift-releases.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ name: Detect
22

33
on:
44
schedule:
5-
- cron: '0 0 * * *'
5+
- cron: "0 0 * * *"
66

77
jobs:
88
swift-versions:
99
name: Swift release
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
13-
env:
14-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15-
- run: ./.github/workflows/check_swift_releases.sh
12+
- uses: actions/checkout@v4
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
- run: ./.github/workflows/check_swift_releases.sh

0 commit comments

Comments
 (0)