Skip to content

Commit

Permalink
Updating Github Actions
Browse files Browse the repository at this point in the history
Using specific Github Actions in order to compile with the lastest rustc
compiler.

The codebase requires rustc 1.46.0 as of now
  • Loading branch information
alessandroasm committed Aug 28, 2020
1 parent 4388d48 commit f89f579
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,25 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Install latest stable rustc
- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy

# Running cargo clippy
- name: Clippy
run: cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy

# Compiling
- name: Compile
run: cargo build --verbose
env:
RUSTFLAGS: -Dwarnings
uses: actions-rs/cargo@v1
with:
command: build
args: --verbose

0 comments on commit f89f579

Please sign in to comment.