Skip to content

Commit

Permalink
Merge branch 'main' into spotlight
Browse files Browse the repository at this point in the history
  • Loading branch information
robtfm committed Jun 26, 2022
2 parents d8c362c + 4f5f040 commit 42cb994
Show file tree
Hide file tree
Showing 32 changed files with 1,752 additions and 416 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ jobs:

markdownlint:
runs-on: ubuntu-latest
needs: check-missing-examples-in-docs
needs: check-examples-readme-update-needed
if: always()
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -261,14 +261,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check that examples are present in both README and Cargo
uses: Weibye/action-internal-link-consistency@1.0.0
with:
source: './examples/'
targets: '[ "./Cargo.toml", "./examples/README.md" ]'
file-types: '[".rs"]'
exclude-folders: '["./examples/ios"]'
exclude-files: '[]'
- run: cargo run -p build-example-pages -- check-missing

check-examples-readme-update-needed:
needs: check-missing-examples-in-docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo run -p build-example-pages -- update
- name: Check for modified files
run: |
echo "if this step fails, run the following command and commit the changed file on your PR."
echo " > cargo run -p build-example-pages -- update"
git diff --quiet HEAD --
check-unused-dependencies:
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit 42cb994

Please sign in to comment.