Skip to content

Commit 66a96e2

Browse files
committed
[#12] Created check.yml (#14)
- Created check.yml - Removed build.yml resolves #12
1 parent 83ed820 commit 66a96e2

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/build.yml renamed to .github/workflows/check.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 🔨 Build
1+
name: 🔨 Cargo Check
22

33
on:
44
pull_request:
@@ -9,12 +9,12 @@ env:
99
CARGO_TERM_COLOR: always
1010

1111
jobs:
12-
build:
12+
check:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest, windows-latest, macos-latest]
16-
toolchain: [stable, beta, nightly]
17-
name: 🔨 Build release
16+
toolchain: [stable]
17+
name: 🔨 Cargo Check
1818
runs-on: ${{ matrix.os }}
1919
steps:
2020
- uses: actions/checkout@v2
@@ -31,6 +31,6 @@ jobs:
3131
~/.cargo/git/db/
3232
target/
3333
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
34-
- name: Build release
35-
run: cargo build --release
34+
- name: Cargo Check
35+
run: cargo check --release
3636

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest, windows-latest, macos-latest]
16-
toolchain: [stable, beta, nightly]
16+
toolchain: [stable]
1717
name: 🧪 Run tests
1818
runs-on: ${{ matrix.os }}
1919
steps:

0 commit comments

Comments
 (0)