Skip to content

Commit

Permalink
feat: ktlint 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Feb 28, 2024
1 parent c388328 commit f49d631
Show file tree
Hide file tree
Showing 5 changed files with 761 additions and 831 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
if: "!contains(github.event.head_commit.message, 'skip ci')"
env: { NODE_OPTIONS: '--max-old-space-size=3200' }
steps:
- { uses: actions/checkout@v3, with: { persist-credentials: true } }
- { uses: actions/setup-node@v3, with: { node-version: 18, cache: 'yarn' } }
- { uses: actions/checkout@v4, with: { persist-credentials: true } }
- { uses: actions/setup-node@v4, with: { node-version: 20, cache: 'yarn' } }

# Cache for npm/npx in ~/.npm
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.npm
key: npm-v1-${{ runner.os }}
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![ktlint](https://img.shields.io/badge/code%20style-%E2%9D%A4-FF4081.svg)](https://ktlint.github.io/)

Current ktlint version: `1.1.0`
Current ktlint version: `1.2.0`

# Quick start

Expand Down
Binary file modified resources/ktlint
Binary file not shown.
2 changes: 1 addition & 1 deletion scripts/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void (async () => {
// https://github.com/pinterest/ktlint/issues/1195
// Hence, reverting to 0.40.0
// const ktlintVersion = '0.43.2'
const ktlintVersion = '1.1.0'
const ktlintVersion = '1.2.0'
console.log(`downloading ktlint ${ktlintVersion} from github, may take some time...`)

const url = `https://github.com/pinterest/ktlint/releases/download/${ktlintVersion}/ktlint`
Expand Down
Loading

0 comments on commit f49d631

Please sign in to comment.