Skip to content

Commit

Permalink
Merge pull request #42 from nervosnetwork/zhangsoledad/build-space
Browse files Browse the repository at this point in the history
chore(ci): Maximize build space on fmt
  • Loading branch information
zhangsoledad authored Dec 12, 2023
2 parents 6a75c1f + 0e15aa7 commit f2c2938
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,20 @@ jobs:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
- name: Checkout sources
uses: actions/checkout@v2
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.73
toolchain: 1.73.0
components: rustfmt
profile: minimal
override: true
Expand Down Expand Up @@ -62,7 +70,7 @@ jobs:
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.73
toolchain: 1.73.0
target: ${{ matrix.target }}
profile: minimal
override: true
Expand Down

0 comments on commit f2c2938

Please sign in to comment.