Skip to content

Commit

Permalink
feat: add self parameter (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wodann authored Feb 21, 2024
1 parent 55a3412 commit b68a952
Show file tree
Hide file tree
Showing 10 changed files with 305 additions and 220 deletions.
31 changes: 25 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,19 @@ jobs:
- name: Install LLVM
uses: ./.github/actions/install-llvm

- name: Install toolchain
- name: Install nightly rustfmt
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
components: rustfmt

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
override: true
components: rustfmt, llvm-tools-preview
components: llvm-tools-preview

- uses: Swatinem/rust-cache@v2
if: matrix.os != 'windows-latest'
Expand Down Expand Up @@ -169,13 +176,19 @@ jobs:
- name: Install LLVM
uses: ./.github/actions/install-llvm

- name: Install toolchain
- name: Install nightly rustfmt
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
override: true
components: rustfmt

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
override: true

- uses: Swatinem/rust-cache@v2

- name: Cargo build
Expand Down Expand Up @@ -219,12 +232,18 @@ jobs:
- name: Install LLVM
uses: ./.github/actions/install-llvm

- name: Install toolchain
- name: Install nightly rustfmt
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
components: rustfmt

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
override: true
components: rustfmt

- uses: Swatinem/rust-cache@v2

Expand Down
Loading

0 comments on commit b68a952

Please sign in to comment.