Skip to content

Commit 2879c4c

Browse files
committed
u
1 parent b4373e2 commit 2879c4c

1 file changed

Lines changed: 21 additions & 12 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -1,30 +1,39 @@
1-
name: Update Unicode 16.0.0
1+
name: Update Unicode
22

33
on:
4+
push:
5+
branches:
6+
- copilot/fix-6
47
workflow_dispatch:
8+
inputs:
9+
version:
10+
type: string
11+
required: true
12+
description: Unicode Version
513

6-
permissions:
7-
contents: write
8-
9-
env:
10-
RUSTFLAGS: -Dwarnings
14+
permissions: {}
1115

1216
jobs:
13-
unicode-16:
14-
name: Update to Unicode 16.0.0
17+
unicode:
18+
name: Update Unicode
1519
runs-on: ubuntu-latest
16-
timeout-minutes: 45
1720
steps:
1821
- uses: taiki-e/checkout-action@v1
19-
- uses: dtolnay/rust-toolchain@stable
22+
- uses: oxc-project/setup-rust@v1.0.0
2023
- uses: taiki-e/install-action@v2
2124
with:
2225
tool: ucd-generate
23-
- run: curl -LO https://www.unicode.org/Public/zipped/16.0.0/UCD.zip
26+
- run: curl -LO https://www.unicode.org/Public/zipped/17.0.0/UCD.zip
2427
- run: unzip UCD.zip -d UCD
2528
- run: ucd-generate property-bool UCD --include ID_Start,ID_Continue > tests/tables/tables.rs
2629
- run: ucd-generate property-bool UCD --include ID_Start,ID_Continue --fst-dir tests/fst
2730
- run: ucd-generate property-bool UCD --include ID_Start,ID_Continue --trie-set > tests/trie/trie.rs
2831
- run: cargo run --manifest-path generate/Cargo.toml
2932
- run: rm -rf UCD UCD.zip
30-
- run: git diff --stat
33+
- uses: peter-evans/create-pull-request@v7
34+
with:
35+
token: ${{ secrets.OXC_BOT_PAT }}
36+
commit-message: Update 17.0.0
37+
base: main
38+
title: Update 17.0.0
39+
assignees: Boshen

0 commit comments

Comments
 (0)