mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 17:52:12 +01:00
Fix ci.yml
This commit is contained in:
parent
6424c05828
commit
68904e3a5a
3 changed files with 8 additions and 10 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -65,7 +65,7 @@ jobs:
|
||||||
args: --all-targets --all-features -- -D warnings
|
args: --all-targets --all-features -- -D warnings
|
||||||
|
|
||||||
- name: Test the examples
|
- name: Test the examples
|
||||||
run: ./.github/workflows/test_examples.sh
|
run: ./examples/test_examples.sh
|
||||||
|
|
||||||
- name: fmt
|
- name: fmt
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
|
|
9
.github/workflows/test_examples.sh
vendored
9
.github/workflows/test_examples.sh
vendored
|
@ -1,9 +0,0 @@
|
||||||
##!/bin/sh
|
|
||||||
|
|
||||||
cd ../../
|
|
||||||
|
|
||||||
for example in examples/*; do
|
|
||||||
echo Testing $example...
|
|
||||||
cd $example; cargo check; cd ../..;
|
|
||||||
done
|
|
||||||
|
|
7
examples/test_examples.sh
Normal file
7
examples/test_examples.sh
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
##!/bin/sh
|
||||||
|
|
||||||
|
for example in */; do
|
||||||
|
echo Testing $example...
|
||||||
|
cd $example; cargo check; cd ..;
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in a new issue