Update time.rs #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust Application Build Workflow | |
# | |
# TRIGGERS THAT LAUNCH THIS JOB | |
# | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
# | |
# ENVIRONMENT VARIABLES | |
# | |
env: | |
CARGO_TERM_COLOR: always | |
# | |
# CONTENT OF JOB | |
# | |
jobs: | |
build: | |
# PLATFORM | |
runs-on: ubuntu-latest | |
# STEPS | |
steps: | |
# PULL RESOURCES | |
- uses: actions/checkout@v2 | |
# BUILLD STEP | |
- name: Build | |
run: cargo build --verbose | |
# TEST STEP | |
- name: Run tests | |
run: cargo test --verbose |