mirror of
https://github.com/mas-cli/mas
synced 2024-11-23 20:13:19 +00:00
🎨 Format YAML files
This commit is contained in:
parent
0806fbad54
commit
8eab75ed9a
9 changed files with 47 additions and 66 deletions
1
.github/dependabot.yml
vendored
1
.github/dependabot.yml
vendored
|
@ -1,4 +1,5 @@
|
||||||
# https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates
|
# https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates
|
||||||
|
---
|
||||||
version: 2
|
version: 2
|
||||||
updates:
|
updates:
|
||||||
- package-ecosystem: "github-actions"
|
- package-ecosystem: "github-actions"
|
||||||
|
|
11
.github/release.yml
vendored
11
.github/release.yml
vendored
|
@ -1,12 +1,13 @@
|
||||||
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
|
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
|
||||||
|
---
|
||||||
changelog:
|
changelog:
|
||||||
categories:
|
categories:
|
||||||
- title: '🚀 Features'
|
- title: "🚀 Features"
|
||||||
labels:
|
labels:
|
||||||
- '🆕 feature request'
|
- "🆕 feature request"
|
||||||
- title: '🐛 Bug Fixes'
|
- title: "🐛 Bug Fixes"
|
||||||
labels:
|
labels:
|
||||||
- '🐛 bug'
|
- "🐛 bug"
|
||||||
- title: Changes
|
- title: Changes
|
||||||
labels:
|
labels:
|
||||||
- '*'
|
- "*"
|
||||||
|
|
24
.github/workflows/danger.yml
vendored
24
.github/workflows/danger.yml
vendored
|
@ -2,24 +2,20 @@
|
||||||
# .github/workflows/danger.yml
|
# .github/workflows/danger.yml
|
||||||
#
|
#
|
||||||
# https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables
|
# https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables
|
||||||
|
---
|
||||||
name: danger
|
name: danger
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main ]
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
danger:
|
danger:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: Danger
|
||||||
- name: Danger
|
# https://github.com/orgs/danger/packages/container/package/danger-swift
|
||||||
# https://github.com/orgs/danger/packages/container/package/danger-swift
|
uses: docker://ghcr.io/danger/danger-swift:3.18.0
|
||||||
uses: docker://ghcr.io/danger/danger-swift:3.18.0
|
with:
|
||||||
with:
|
args: --failOnErrors --no-publish-check
|
||||||
args: --failOnErrors --no-publish-check
|
env:
|
||||||
env:
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
39
.github/workflows/pr-checks.yml
vendored
39
.github/workflows/pr-checks.yml
vendored
|
@ -2,23 +2,19 @@
|
||||||
# .github/workflows/pr-checks.yml
|
# .github/workflows/pr-checks.yml
|
||||||
#
|
#
|
||||||
# https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables
|
# https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables
|
||||||
|
---
|
||||||
name: pr-checks
|
name: pr-checks
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main ]
|
branches: [main]
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [main]
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-test:
|
build-test:
|
||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
# Prefixes all `run` commands with the following command to force them to run outside Rosetta.
|
# Prefixes all `run` commands with the following command to force them to run outside Rosetta.
|
||||||
|
@ -26,21 +22,16 @@ jobs:
|
||||||
# https://github.com/rolpdog/cffi-mirror/blob/release-1.15/.github/workflows/ci.yaml#L81-L141
|
# https://github.com/rolpdog/cffi-mirror/blob/release-1.15/.github/workflows/ci.yaml#L81-L141
|
||||||
# https://github.com/actions/virtual-environments/issues/2187#issuecomment-790507204
|
# https://github.com/actions/virtual-environments/issues/2187#issuecomment-790507204
|
||||||
shell: arch -arm64 bash --noprofile --norc -eo pipefail {0}
|
shell: arch -arm64 bash --noprofile --norc -eo pipefail {0}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
# A fetch-depth of 0 includes all history and tags for script/version
|
# A fetch-depth of 0 includes all history and tags for script/version
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- name: Bootstrap
|
||||||
- name: Bootstrap
|
run: script/bootstrap
|
||||||
run: script/bootstrap
|
- name: Build
|
||||||
|
run: script/build
|
||||||
- name: Build
|
- name: Test
|
||||||
run: script/build
|
run: script/test
|
||||||
|
- name: Lint
|
||||||
- name: Test
|
run: script/lint
|
||||||
run: script/test
|
|
||||||
|
|
||||||
- name: Lint
|
|
||||||
run: script/lint
|
|
||||||
|
|
18
.github/workflows/release.yml
vendored
18
.github/workflows/release.yml
vendored
|
@ -1,22 +1,18 @@
|
||||||
#
|
#
|
||||||
# .github/workflows/release.yml
|
# .github/workflows/release.yml
|
||||||
#
|
#
|
||||||
|
---
|
||||||
name: release
|
name: release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
# A fetch-depth of 0 includes all history and tags for script/version
|
# A fetch-depth of 0 includes all history and tags for script/version
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- name: Bootstrap
|
||||||
- name: Bootstrap
|
run: script/bootstrap
|
||||||
run: script/bootstrap
|
|
||||||
|
|
|
@ -6,15 +6,11 @@
|
||||||
#
|
#
|
||||||
---
|
---
|
||||||
fail_on_violations: false
|
fail_on_violations: false
|
||||||
|
|
||||||
erblint:
|
erblint:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
rubocop:
|
rubocop:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
shellcheck:
|
shellcheck:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
swiftlint:
|
swiftlint:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
|
---
|
||||||
retain_public: true
|
retain_public: true
|
||||||
strict: true
|
strict: true
|
||||||
|
|
|
@ -4,12 +4,10 @@
|
||||||
#
|
#
|
||||||
# https://github.com/realm/SwiftLint#configuration
|
# https://github.com/realm/SwiftLint#configuration
|
||||||
#
|
#
|
||||||
|
---
|
||||||
disabled_rules:
|
disabled_rules:
|
||||||
- trailing_comma
|
- trailing_comma
|
||||||
|
|
||||||
excluded:
|
excluded:
|
||||||
- docs
|
- docs
|
||||||
|
|
||||||
opening_brace:
|
opening_brace:
|
||||||
allow_multiline_func: true
|
allow_multiline_func: true
|
||||||
|
|
|
@ -4,8 +4,9 @@
|
||||||
#
|
#
|
||||||
# https://github.com/realm/SwiftLint#configuration
|
# https://github.com/realm/SwiftLint#configuration
|
||||||
#
|
#
|
||||||
|
|
||||||
---
|
---
|
||||||
disabled_rules:
|
disabled_rules:
|
||||||
- force_cast
|
- force_cast
|
||||||
- force_try
|
- force_try
|
||||||
- function_body_length
|
- function_body_length
|
||||||
|
|
Loading…
Reference in a new issue