Skip to content

Commit 44fea77

Browse files
committed
Fix workflow step description and remove extra rustc flags
1 parent fe1a124 commit 44fea77

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,11 @@ on:
88
branches:
99
- main
1010

11-
env:
12-
rust_stable: 1.68.2
13-
1411
jobs:
1512
build:
1613
name: Tests
1714
env:
18-
RUSTFLAGS: "-D warnings -C opt-level=z -C target-cpu=x86-64 -C debuginfo=1"
15+
RUSTFLAGS: "-D warnings -C debuginfo=1"
1916
runs-on: ${{ matrix.os }}
2017
strategy:
2118
matrix:
@@ -25,10 +22,10 @@ jobs:
2522
- name: Checkout
2623
uses: actions/checkout@v3
2724

28-
- name: Install Rust ${{ env.rust_stable }}
25+
- name: Install Rust stable
2926
uses: actions-rs/toolchain@v1
3027
with:
31-
toolchain: ${{ env.rust_stable }}
28+
toolchain: stable
3229
components: rustfmt, clippy
3330

3431
- name: Setup build cache

.github/workflows/nightly.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,11 @@ on:
66
# run this workflow every day at 1:42 AM UTC
77
- cron: '42 1 * * *'
88

9-
env:
10-
rust_stable: 1.68.2
11-
129
jobs:
1310
build:
1411
name: All tests
1512
env:
16-
RUSTFLAGS: "-D warnings -C opt-level=z -C target-cpu=x86-64 -C debuginfo=1"
13+
RUSTFLAGS: "-D warnings -C debuginfo=1"
1714
runs-on: ${{ matrix.os }}
1815
strategy:
1916
matrix:
@@ -23,10 +20,10 @@ jobs:
2320
- name: Checkout
2421
uses: actions/checkout@v3
2522

26-
- name: Install Rust ${{ env.rust_stable }}
23+
- name: Install Rust stable
2724
uses: actions-rs/toolchain@v1
2825
with:
29-
toolchain: ${{ env.rust_stable }}
26+
toolchain: stable
3027
components: rustfmt, clippy
3128

3229
- name: Install node

0 commit comments

Comments
 (0)