mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-05-17 06:34:45 +00:00
Change Prettier settings (#36)
## Summary I know this is a little tedious but I'd prefer to use the same settings as in Ruff.
This commit is contained in:
parent
1785c7bde0
commit
182c9c7e92
32 changed files with 5536 additions and 5497 deletions
58
.github/release-drafter.yml
vendored
58
.github/release-drafter.yml
vendored
|
@ -1,48 +1,48 @@
|
|||
name-template: 'v$RESOLVED_VERSION 🌈'
|
||||
tag-template: 'v$RESOLVED_VERSION'
|
||||
name-template: "v$RESOLVED_VERSION 🌈"
|
||||
tag-template: "v$RESOLVED_VERSION"
|
||||
categories:
|
||||
- title: '🚨 Breaking changes'
|
||||
- title: "🚨 Breaking changes"
|
||||
labels:
|
||||
- 'breaking-change'
|
||||
- title: '✨ New features'
|
||||
- "breaking-change"
|
||||
- title: "✨ New features"
|
||||
labels:
|
||||
- 'new-feature'
|
||||
- title: '🐛 Bug fixes'
|
||||
- "new-feature"
|
||||
- title: "🐛 Bug fixes"
|
||||
labels:
|
||||
- 'bugfix'
|
||||
- title: '🚀 Enhancements'
|
||||
- "bugfix"
|
||||
- title: "🚀 Enhancements"
|
||||
labels:
|
||||
- 'enhancement'
|
||||
- 'refactor'
|
||||
- 'performance'
|
||||
- title: '🧰 Maintenance'
|
||||
- "enhancement"
|
||||
- "refactor"
|
||||
- "performance"
|
||||
- title: "🧰 Maintenance"
|
||||
labels:
|
||||
- 'maintenance'
|
||||
- 'ci'
|
||||
- 'default-version-update'
|
||||
- title: '📚 Documentation'
|
||||
- "maintenance"
|
||||
- "ci"
|
||||
- "default-version-update"
|
||||
- title: "📚 Documentation"
|
||||
labels:
|
||||
- 'documentation'
|
||||
- title: '⬆️ Dependency updates'
|
||||
- "documentation"
|
||||
- title: "⬆️ Dependency updates"
|
||||
labels:
|
||||
- 'dependencies'
|
||||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
|
||||
- "dependencies"
|
||||
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
|
||||
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
|
||||
version-resolver:
|
||||
major:
|
||||
labels:
|
||||
- 'major'
|
||||
- 'breaking-change'
|
||||
- "major"
|
||||
- "breaking-change"
|
||||
minor:
|
||||
labels:
|
||||
- 'minor'
|
||||
- 'new-feature'
|
||||
- 'enhancement'
|
||||
- "minor"
|
||||
- "new-feature"
|
||||
- "enhancement"
|
||||
patch:
|
||||
labels:
|
||||
- 'patch'
|
||||
- 'bugfix'
|
||||
- 'default-version-update'
|
||||
- "patch"
|
||||
- "bugfix"
|
||||
- "default-version-update"
|
||||
default: patch
|
||||
template: |
|
||||
## Changes
|
||||
|
|
4
.github/workflows/check-dist.yml
vendored
4
.github/workflows/check-dist.yml
vendored
|
@ -10,10 +10,10 @@ on:
|
|||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- "**.md"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- "**.md"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
|
6
.github/workflows/codeql-analysis.yml
vendored
6
.github/workflows/codeql-analysis.yml
vendored
|
@ -9,7 +9,7 @@
|
|||
# the `language` matrix defined below to confirm you have the correct set of
|
||||
# supported CodeQL languages.
|
||||
#
|
||||
name: 'CodeQL'
|
||||
name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
|
@ -18,7 +18,7 @@ on:
|
|||
# The branches below must be a subset of the branches above
|
||||
branches: [main]
|
||||
schedule:
|
||||
- cron: '31 7 * * 3'
|
||||
- cron: "31 7 * * 3"
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
|
@ -32,7 +32,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: ['TypeScript']
|
||||
language: ["TypeScript"]
|
||||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
||||
# Learn more about CodeQL language support at https://git.io/codeql-language-support
|
||||
|
||||
|
|
2
.github/workflows/test-cache-windows.yml
vendored
2
.github/workflows/test-cache-windows.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: 'test-cache-windows'
|
||||
name: "test-cache-windows"
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
|
|
2
.github/workflows/test-cache.yml
vendored
2
.github/workflows/test-cache.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: 'test-cache'
|
||||
name: "test-cache"
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
|
|
2
.github/workflows/test-windows.yml
vendored
2
.github/workflows/test-windows.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: 'test-windows'
|
||||
name: "test-windows"
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
|
|
14
.github/workflows/test.yml
vendored
14
.github/workflows/test.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: 'test'
|
||||
name: "test"
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
|
@ -19,7 +19,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
node-version: "20"
|
||||
- run: |
|
||||
npm install
|
||||
- run: |
|
||||
|
@ -42,7 +42,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, macos-14, oracle-aarch64]
|
||||
uv-version: ['latest', '0.3.0', '0.3.2']
|
||||
uv-version: ["latest", "0.3.0", "0.3.2"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install version ${{ matrix.uv-version }}
|
||||
|
@ -58,19 +58,19 @@ jobs:
|
|||
matrix:
|
||||
os: [ubuntu-latest, oracle-aarch64]
|
||||
checksum:
|
||||
['4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd']
|
||||
["4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd"]
|
||||
exclude:
|
||||
- os: oracle-aarch64
|
||||
checksum: '4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd'
|
||||
checksum: "4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd"
|
||||
include:
|
||||
- os: oracle-aarch64
|
||||
checksum: 'e11b01402ab645392c7ad6044db63d37e4fd1e745e015306993b07695ea5f9f8'
|
||||
checksum: "e11b01402ab645392c7ad6044db63d37e4fd1e745e015306993b07695ea5f9f8"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Checksum matches expected
|
||||
uses: ./
|
||||
with:
|
||||
version: '0.3.2'
|
||||
version: "0.3.2"
|
||||
checksum: ${{ matrix.checksum }}
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
test-without-github-token:
|
||||
|
|
16
.github/workflows/update-default-version.yml
vendored
16
.github/workflows/update-default-version.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: 'Update default version and checksums'
|
||||
name: "Update default version and checksums"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
|
@ -9,7 +9,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
node-version: "20"
|
||||
- name: Update default version and checksums
|
||||
id: update-default-version
|
||||
run:
|
||||
|
@ -20,14 +20,14 @@ jobs:
|
|||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@4320041ed380b20e97d388d56a7fb4f9b8c20e79 # v7.0.0
|
||||
with:
|
||||
commit-message: 'chore: update checksums'
|
||||
commit-message: "chore: update checksums"
|
||||
title:
|
||||
'chore: update default version to ${{
|
||||
steps.update-default-version.outputs.latest-version }}'
|
||||
"chore: update default version to ${{
|
||||
steps.update-default-version.outputs.latest-version }}"
|
||||
body:
|
||||
'chore: update default version to ${{
|
||||
steps.update-default-version.outputs.latest-version }}'
|
||||
"chore: update default version to ${{
|
||||
steps.update-default-version.outputs.latest-version }}"
|
||||
base: main
|
||||
labels: 'automated-pr,default-version-update'
|
||||
labels: "automated-pr,default-version-update"
|
||||
branch: update-default-version-pr
|
||||
delete-branch: true
|
||||
|
|
|
@ -5,9 +5,9 @@ name: Update Major Minor Tags
|
|||
on:
|
||||
push:
|
||||
branches-ignore:
|
||||
- '**'
|
||||
- "**"
|
||||
tags:
|
||||
- 'v*.*.*'
|
||||
- "v*.*.*"
|
||||
|
||||
jobs:
|
||||
update_major_minor_tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue