Skip to content

Commit

Permalink
ci: Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot committed Apr 9, 2024
1 parent 31e4308 commit 1393e26
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 34 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ inputs:
node_version:
description: The Node.js version.
required: false
default: '20'
default: "20"
registry_url:
description: The Node.js package registry URL.
required: false
default: https://registry.npmjs.org
install_dependencies:
description: Install dependencies.
required: false
default: 'true'
default: "true"

runs:
using: composite
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ inputs:
python_version:
description: The Python version.
required: false
default: '3.12'
default: "3.12"
poetry_version:
description: The Poetry version.
required: false
default: '1.8.2'
default: "1.8.2"
install_dependencies:
description: Install dependencies.
required: false
default: 'true'
default: "true"

runs:
using: composite
Expand Down
8 changes: 4 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version: 2
updates:
- package-ecosystem: npm
directory: '/'
directory: "/"
schedule:
interval: daily
commit-message:
Expand All @@ -11,14 +11,14 @@ updates:
allow:
- dependency-type: development
ignore:
- dependency-name: '*'
- dependency-name: "*"
update-types:
- 'version-update:semver-major'
- "version-update:semver-major"
groups:
seam:
dependency-type: development
patterns:
- '@seamapi/*'
- "@seamapi/*"
update-types:
- patch
- minor
4 changes: 2 additions & 2 deletions .github/workflows/_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
description: The Python version.
type: string
required: false
default: '3.12'
default: "3.12"
runs_on:
description: The runner environment.
type: string
Expand All @@ -18,7 +18,7 @@ on:
description: Upload the built artifact.
type: string
required: false
default: 'false'
default: "false"
outputs:
artifact_name:
description: The artifact name.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup
uses: ./.github/actions/setup
with:
install_dependencies: 'false'
install_dependencies: "false"
- name: Download artifact
uses: actions/download-artifact@v4
with:
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main
pull_request:
branches:
- '**'
- "**"

jobs:
test:
Expand All @@ -20,10 +20,10 @@ jobs:
os:
- ubuntu-latest
python:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- "3.9"
- "3.10"
- "3.11"
- "3.12"
include:
- os: ubuntu-latest
os_name: Linux
Expand All @@ -44,8 +44,8 @@ jobs:
fail-fast: false
matrix:
python:
- '3.11'
- '3.12'
- "3.11"
- "3.12"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -68,10 +68,10 @@ jobs:
os:
- ubuntu-latest
python:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- "3.9"
- "3.10"
- "3.11"
- "3.12"
include:
- os: ubuntu-latest
os_name: Linux
Expand All @@ -86,10 +86,10 @@ jobs:
os:
- ubuntu-latest
python:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- "3.9"
- "3.10"
- "3.11"
- "3.12"
include:
- os: ubuntu-latest
os_name: Linux
Expand All @@ -107,7 +107,7 @@ jobs:
uses: tj-actions/glob@v21
id: wheels
with:
files: '*.whl'
files: "*.whl"
- name: Install
run: pip install ${{ steps.wheels.outputs.paths }}
- name: Create main.py
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
uses: stefanzweifel/git-auto-commit-action@v5
if: always()
with:
commit_message: 'ci: Format code'
commit_message: "ci: Format code"
commit_user_name: ${{ secrets.GIT_USER_NAME }}
commit_user_email: ${{ secrets.GIT_USER_EMAIL }}
commit_author: ${{ secrets.GIT_USER_NAME }} <${{ secrets.GIT_USER_EMAIL }}>
6 changes: 3 additions & 3 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
- name: Setup
uses: ./.github/actions/setup
with:
install_dependencies: 'false'
install_dependencies: "false"
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
install_dependencies: 'false'
install_dependencies: "false"
- name: Normalize poetry.lock
run: poetry lock --no-update
- name: Normalize package-lock.json
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'ci: Generate code'
commit_message: "ci: Generate code"
commit_user_name: ${{ secrets.GIT_USER_NAME }}
commit_user_email: ${{ secrets.GIT_USER_EMAIL }}
commit_author: ${{ secrets.GIT_USER_NAME }} <${{ secrets.GIT_USER_EMAIL }}>
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Build
uses: ./.github/workflows/_build.yml
with:
upload_artifact: 'true'
upload_artifact: "true"
release:
name: GitHub Releases
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ run-name: Semantic Release from ${{ github.ref_name }}
on:
push:
branches:
- '**'
- "**"

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
Expand Down

0 comments on commit 1393e26

Please sign in to comment.