style(actions/rust): resolve PR review

This commit is contained in:
James Lucktaylor 2023-03-03 12:08:30 +00:00
parent 2dd948a4a1
commit a9e17ab8c6
No known key found for this signature in database
GPG Key ID: C705F79EC74F9953

View File

@ -4,7 +4,7 @@ on:
workflow_dispatch: workflow_dispatch:
schedule: schedule:
# Everyday at 5:00am # Everyday at 5:00am
- cron: "0 5 * * *" - cron: '0 5 * * *'
pull_request: pull_request:
push: push:
# trying and staging branches are for Bors config # trying and staging branches are for Bors config
@ -85,16 +85,13 @@ jobs:
# Use ubuntu-18.04 to compile with glibc 2.27, which are the production expectations # Use ubuntu-18.04 to compile with glibc 2.27, which are the production expectations
image: ubuntu:18.04 image: ubuntu:18.04
if: github.event_name == 'schedule' if: github.event_name == 'schedule'
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Run cargo build with all features - name: Run cargo build with all features
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: build command: build
args: --workspace --locked --release --all-features args: --workspace --locked --release --all-features
- name: Run cargo test with all features - name: Run cargo test with all features
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with: