ci: place missing env variables to the tests job
@@ -48,10 +48,6 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
- env:
- RUSTFLAGS: -D warnings
- RUST_BACKTRACE: 1
- CARGO_FLAGS: --verbose --locked
steps:
- name: Cache cargo registry index
uses: actions/cache@v2
@@ -91,6 +87,10 @@ jobs:
- os: ubuntu-latest
flags: ''
toolchain: nightly
+ env:
+ RUSTFLAGS: -D warnings
+ RUST_BACKTRACE: 1
+ CARGO_FLAGS: --verbose --locked
steps:
- uses: actions-rs/toolchain@v1
with:
