Skip to content

Commit 4a26313

Browse files
authored
Add toolchain and switch to Rust 2021 (#10)
* Add toolchain and switch to Rust 2021 * Fix tests toolchain
1 parent 9ea096f commit 4a26313

3 files changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/quick-check.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ jobs:
5454
quick_check-tests:
5555
runs-on: ubuntu-latest
5656
steps:
57+
- name: Install Rust stable toolchain
58+
uses: actions-rs/toolchain@v1
59+
with:
60+
profile: minimal
61+
toolchain: stable
62+
override: true
63+
5764
- uses: actions/checkout@v2
5865

5966
- name: Cargo test

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
authors = ["chevdor <chevdor@gmail.com>"]
3-
edition = "2018"
3+
edition = "2021"
44
name = "tera-cli"
55
version = "0.2.0"
66
description = "A command line utility written in Rust to render templates from json|toml|yaml && ENV, using the tera templating engine"

rust-toolchain.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[toolchain]
2+
channel = "stable"
3+
components = [ "rustfmt", "clippy" ]
4+
profile = "minimal"

0 commit comments

Comments
 (0)