mirror of
https://github.com/mas-cli/mas
synced 2024-11-21 11:13:06 +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
|
||||
---
|
||||
version: 2
|
||||
updates:
|
||||
- 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
|
||||
---
|
||||
changelog:
|
||||
categories:
|
||||
- title: '🚀 Features'
|
||||
- title: "🚀 Features"
|
||||
labels:
|
||||
- '🆕 feature request'
|
||||
- title: '🐛 Bug Fixes'
|
||||
- "🆕 feature request"
|
||||
- title: "🐛 Bug Fixes"
|
||||
labels:
|
||||
- '🐛 bug'
|
||||
- "🐛 bug"
|
||||
- title: Changes
|
||||
labels:
|
||||
- '*'
|
||||
- "*"
|
||||
|
|
24
.github/workflows/danger.yml
vendored
24
.github/workflows/danger.yml
vendored
|
@ -2,24 +2,20 @@
|
|||
# .github/workflows/danger.yml
|
||||
#
|
||||
# https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables
|
||||
|
||||
---
|
||||
name: danger
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
branches: [main]
|
||||
jobs:
|
||||
danger:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Danger
|
||||
# https://github.com/orgs/danger/packages/container/package/danger-swift
|
||||
uses: docker://ghcr.io/danger/danger-swift:3.18.0
|
||||
with:
|
||||
args: --failOnErrors --no-publish-check
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/checkout@v4
|
||||
- name: Danger
|
||||
# https://github.com/orgs/danger/packages/container/package/danger-swift
|
||||
uses: docker://ghcr.io/danger/danger-swift:3.18.0
|
||||
with:
|
||||
args: --failOnErrors --no-publish-check
|
||||
env:
|
||||
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
|
||||
#
|
||||
# https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables
|
||||
|
||||
---
|
||||
name: pr-checks
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
branches: [main]
|
||||
push:
|
||||
branches: [ main ]
|
||||
|
||||
branches: [main]
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build-test:
|
||||
runs-on: macos-14
|
||||
|
||||
defaults:
|
||||
run:
|
||||
# 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/actions/virtual-environments/issues/2187#issuecomment-790507204
|
||||
shell: arch -arm64 bash --noprofile --norc -eo pipefail {0}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
# A fetch-depth of 0 includes all history and tags for script/version
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Bootstrap
|
||||
run: script/bootstrap
|
||||
|
||||
- name: Build
|
||||
run: script/build
|
||||
|
||||
- name: Test
|
||||
run: script/test
|
||||
|
||||
- name: Lint
|
||||
run: script/lint
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
# A fetch-depth of 0 includes all history and tags for script/version
|
||||
fetch-depth: 0
|
||||
- name: Bootstrap
|
||||
run: script/bootstrap
|
||||
- name: Build
|
||||
run: script/build
|
||||
- name: Test
|
||||
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
|
||||
#
|
||||
|
||||
---
|
||||
name: release
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: macos-14
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
# A fetch-depth of 0 includes all history and tags for script/version
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Bootstrap
|
||||
run: script/bootstrap
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
# A fetch-depth of 0 includes all history and tags for script/version
|
||||
fetch-depth: 0
|
||||
- name: Bootstrap
|
||||
run: script/bootstrap
|
||||
|
|
|
@ -6,15 +6,11 @@
|
|||
#
|
||||
---
|
||||
fail_on_violations: false
|
||||
|
||||
erblint:
|
||||
enabled: false
|
||||
|
||||
rubocop:
|
||||
enabled: false
|
||||
|
||||
shellcheck:
|
||||
enabled: true
|
||||
|
||||
swiftlint:
|
||||
enabled: false
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
---
|
||||
retain_public: true
|
||||
strict: true
|
||||
|
|
|
@ -4,12 +4,10 @@
|
|||
#
|
||||
# https://github.com/realm/SwiftLint#configuration
|
||||
#
|
||||
|
||||
---
|
||||
disabled_rules:
|
||||
- trailing_comma
|
||||
|
||||
- trailing_comma
|
||||
excluded:
|
||||
- docs
|
||||
|
||||
- docs
|
||||
opening_brace:
|
||||
allow_multiline_func: true
|
||||
|
|
|
@ -4,8 +4,9 @@
|
|||
#
|
||||
# https://github.com/realm/SwiftLint#configuration
|
||||
#
|
||||
|
||||
---
|
||||
disabled_rules:
|
||||
- force_cast
|
||||
- force_try
|
||||
- function_body_length
|
||||
- force_cast
|
||||
- force_try
|
||||
- function_body_length
|
||||
|
|
Loading…
Reference in a new issue