Skip to content

Commit

Permalink
ci: improve bump_oxlint, force right version (#207)
Browse files Browse the repository at this point in the history
this allows us to run manually this job with older version of `oxlint`.

Expected that `inputs.version` is a string in this format: `0.10.3`.

After this merge we can, if we want, create an release `0.10.2` and not
get the changes from `0.10.3`
  • Loading branch information
Sysix authored Nov 1, 2024
1 parent 123d941 commit b394800
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/bump_oxlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:

- uses: ./.github/actions/pnpm

- name: Generate from latest version
- name: Generate version ${{ inputs.version }}
run: |
pnpm update --latest oxlint
pnpm run clone
pnpm run generate # Generate rules from latest oxlint
pnpm install oxlint@${{ inputs.version }}
pnpm run clone ${{ inputs.version }}
pnpm run generate # Generate rules from source code
pnpm run format # run prettier over it
- name: Test and update snapshot
Expand Down

0 comments on commit b394800

Please sign in to comment.