Skip to content

Commit bffcb1a

Browse files
committed
remove macos nightly ci
Signed-off-by: Yang Zhang <yang.zhang@pingcap.com>
1 parent 5548575 commit bffcb1a

File tree

1 file changed

+1
-38
lines changed

1 file changed

+1
-38
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -15,43 +15,6 @@ env:
1515
CARGO_TERM_COLOR: always
1616

1717
jobs:
18-
nightly:
19-
runs-on: ${{ matrix.os }}
20-
strategy:
21-
matrix:
22-
# tests with sanitizer on `ubuntu-latest` is supported by
23-
# self-defined `nihtly test` job, so we don't need to test it here.
24-
os: [ macos-latest ]
25-
steps:
26-
- uses: actions/checkout@v2
27-
with:
28-
ref: ${{ github.event.pull_request.head.sha }}
29-
- name: Install nightly toolchain
30-
uses: actions-rs/toolchain@v1
31-
with:
32-
profile: minimal
33-
toolchain: nightly-2026-01-30
34-
override: true
35-
components: rustfmt, clippy, rust-src
36-
- uses: Swatinem/rust-cache@v1
37-
with:
38-
sharedKey: ${{ matrix.os }}
39-
- name: Cache dependencies
40-
if: ${{ matrix.os == 'ubuntu-latest' }}
41-
run: if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo install grcov; fi
42-
- name: Format
43-
run: |
44-
make format
45-
git diff --exit-code
46-
- name: Clippy
47-
run: make clippy
48-
env:
49-
EXTRA_CARGO_ARGS: '--fix'
50-
- name: Run tests
51-
run: make test
52-
env:
53-
RUST_BACKTRACE: 1
54-
EXTRA_CARGO_ARGS: '--verbose'
5518
stable:
5619
runs-on: ${{ matrix.os }}
5720
strategy:
@@ -83,7 +46,7 @@ jobs:
8346
WITH_STABLE_TOOLCHAIN: 'force'
8447
coverage:
8548
runs-on: ubuntu-latest
86-
needs: nightly
49+
needs: stable
8750
steps:
8851
- uses: actions/checkout@v2
8952
with:

0 commit comments

Comments
 (0)