Skip to content

Commit

Permalink
Add toolchain and switch to Rust 2021 (#10)
Browse files Browse the repository at this point in the history
* Add toolchain and switch to Rust 2021
* Fix tests toolchain
  • Loading branch information
chevdor authored Nov 2, 2021
1 parent 9ea096f commit 4a26313
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/quick-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ jobs:
quick_check-tests:
runs-on: ubuntu-latest
steps:
- name: Install Rust stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- uses: actions/checkout@v2

- name: Cargo test
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
authors = ["chevdor <chevdor@gmail.com>"]
edition = "2018"
edition = "2021"
name = "tera-cli"
version = "0.2.0"
description = "A command line utility written in Rust to render templates from json|toml|yaml && ENV, using the tera templating engine"
Expand Down
4 changes: 4 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[toolchain]
channel = "stable"
components = [ "rustfmt", "clippy" ]
profile = "minimal"

0 comments on commit 4a26313

Please sign in to comment.