Skip to content

Commit 30685aa

Browse files
authored
Update and rename rust.yml to ci.yml
Closes #2
1 parent 8bef0e9 commit 30685aa

File tree

2 files changed

+37
-30
lines changed

2 files changed

+37
-30
lines changed

.github/workflows/ci.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
9+
env:
10+
RUST_BACKTRACE: 1
11+
12+
jobs:
13+
test:
14+
name: Test ${{ matrix.rust }}
15+
strategy:
16+
matrix:
17+
os: [ubuntu-latest]
18+
rust:
19+
- 1.47.0-nightly
20+
21+
runs-on: ${{ matrix.os }}
22+
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v1
26+
27+
- name: Install Rust (${{ matrix.rust }})
28+
uses: actions-rs/toolchain@v1
29+
with:
30+
profile: minimal
31+
toolchain: ${{ matrix.rust }}
32+
override: true
33+
34+
- name: Build
35+
uses: actions-rs/cargo@v1
36+
with:
37+
command: build

.github/workflows/rust.yml

-30
This file was deleted.

0 commit comments

Comments
 (0)