mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-31 16:40:37 +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
|
||||
|
||||
- name: Test the examples
|
||||
run: ./.github/workflows/test_examples.sh
|
||||
run: ./examples/test_examples.sh
|
||||
|
||||
- name: fmt
|
||||
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