Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/biome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
types: [opened, synchronize]

permissions:
contents: read

jobs:
biome:
runs-on: macos-latest
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,16 @@ on:
pull_request:
types: [opened, synchronize]

permissions:
contents: read

jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: false
- name: Add SSH private keys for submodule repositories
uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.CI_SUBMODULE }}
- name: Init git submodules
run: git submodule update --init --depth 1
run: git submodule update --init --recursive --depth 1
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
types: [opened, synchronize]

permissions:
contents: read

jobs:
format:
runs-on: ubuntu-latest
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/pack-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
types: [opened, synchronize]

permissions:
contents: read

jobs:
test:
if: (github.event_name == 'push' && !contains(github.event.head_commit.message, '(pm)')) || (github.event_name == 'pull_request' && !contains(github.event.pull_request.title, '(pm)'))
Expand Down Expand Up @@ -86,15 +89,8 @@ jobs:
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v4
with:
submodules: false
- name: Add SSH private keys for submodule repositories
uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.CI_SUBMODULE }}
- name: Init git submodules
run: git submodule update --init --depth 1
run: git submodule update --init --recursive --depth 1
- name: Free disk space
if: matrix.settings.host == 'ubuntu-latest'
run: |
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/pack-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
types: [opened, synchronize]

permissions:
contents: read

jobs:
integration:
if: (github.event_name == 'push' && !contains(github.event.head_commit.message, '(pm)')) || (github.event_name == 'pull_request' && !contains(github.event.pull_request.title, '(pm)'))
Expand All @@ -15,17 +18,9 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: false

- name: Add SSH private keys for submodule repositories
uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.CI_SUBMODULE }}

- name: Init git submodules
run: git submodule update --init --depth 1
run: git submodule update --init --recursive --depth 1

- name: Free disk space
run: |
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/pack-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,8 @@ jobs:
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v4
with:
submodules: false
- name: Add SSH private keys for submodule repositories
uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.CI_SUBMODULE }}
- name: Init git submodules
run: git submodule update --init --depth 1
run: git submodule update --init --recursive --depth 1
- name: Free disk space
if: matrix.settings.host == 'ubuntu-latest'
run: |
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/pm-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
types: [opened, synchronize]

permissions:
contents: read

jobs:
test:
if: (github.event_name == 'push' && !contains(github.event.head_commit.message, '(pack)')) || (github.event_name == 'pull_request' && !contains(github.event.pull_request.title, '(pack)'))
Expand Down Expand Up @@ -41,17 +44,9 @@ jobs:
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v4
with:
submodules: false

- name: Add SSH private keys for submodule repositories
uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.CI_SUBMODULE }}

- name: Init git submodules
run: git submodule update --init --depth 1
run: git submodule update --init --recursive --depth 1

# Add: Configure Git longpaths on Windows
- name: Configure Git (Windows)
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/pm-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
types: [opened, synchronize]

permissions:
contents: read

jobs:
e2e:
if: (github.event_name == 'push' && !contains(github.event.head_commit.message, '(pack)')) || (github.event_name == 'pull_request' && !contains(github.event.pull_request.title, '(pack)'))
Expand All @@ -26,17 +29,9 @@ jobs:
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v4
with:
submodules: false

- name: Add SSH private keys for submodule repositories
uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.CI_SUBMODULE }}

- name: Init git submodules
run: git submodule update --init --depth 1
run: git submodule update --init --recursive --depth 1

- name: Install x86_64 Node.js via nvm
if: matrix.settings.target == 'x86_64-apple-darwin'
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/pm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,8 @@ jobs:
if: ${{ matrix.target == 'aarch64-unknown-linux-gnu' }}
run: rustup target add aarch64-unknown-linux-gnu

- name: Add SSH private keys for submodule repositories
uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.CI_SUBMODULE }}
- name: Init git submodules
run: git submodule update --init --depth 1
run: git submodule update --init --recursive --depth 1

- name: Build
uses: actions-rs/cargo@v1
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/taplo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
types: [opened, synchronize]

permissions:
contents: read

jobs:
taplo:
runs-on: ubuntu-latest
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/utooweb-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,17 @@ on:
pull_request:
types: [opened, synchronize]

permissions:
contents: read

jobs:
build:
name: utooweb-ci-build-wasm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: false
- name: Add SSH private keys for submodule repositories
uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.CI_SUBMODULE }}
- name: Init git submodules
run: git submodule update --init --depth 1
run: git submodule update --init --recursive --depth 1
- name: Setup node
uses: actions/setup-node@v4
with:
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/utooweb-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: false
- name: Add SSH private keys for submodule repositories
uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.CI_SUBMODULE }}
- name: Init git submodules
run: git submodule update --init --depth 1
run: git submodule update --init --recursive --depth 1
- name: Setup node
uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "next.js"]
path = next.js
url = git@github.com:utooland/next.js.git
url = https://github.com/utooland/next.js.git
branch = utoo
Loading