cucumber: tap_hold quick_tap_ms feature scenarios #749
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Push Cargo Doc to GitHub Pages | |
| env: | |
| NICKEL_VERSION: 1.16.0 | |
| on: | |
| push: | |
| branches: ["master"] | |
| paths: | |
| - '.cargo/**' | |
| - '.github/workflows/gh-pages.yaml' | |
| - 'Cargo.*' | |
| - 'features/**' | |
| - 'keyberon-smart-keyboard/**' | |
| - 'ncl/**' | |
| - 'rp2040-rtic-smart-keyboard/**' | |
| - 'smart-keymap-nickel-helper/**' | |
| - 'src/**' | |
| - 'smart-keymap-core/**' | |
| # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | |
| # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: false | |
| jobs: | |
| deploy: | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Pages | |
| uses: actions/configure-pages@v5 | |
| - name: Setup Nickel | |
| uses: ./.github/actions/setup-nickel | |
| with: | |
| version: ${{ env.NICKEL_VERSION }} | |
| - name: Rust cache | |
| uses: swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2.9.1 | |
| with: | |
| shared-key: gh-pages | |
| - name: Run Cargo Doc | |
| run: | | |
| mkdir -p _site | |
| cargo doc \ | |
| --no-deps \ | |
| --package=rp2040-rtic-smart-keyboard \ | |
| --package=smart-keymap-core \ | |
| --package=smart-keymap \ | |
| --package=keyberon-smart-keyboard | |
| cp -r target/doc _site/doc | |
| - name: Setup Nickel | |
| uses: ./.github/actions/setup-nickel | |
| with: | |
| version: ${{ env.NICKEL_VERSION }} | |
| - name: features.html | |
| run: | | |
| sudo apt update | |
| sudo apt install -y gawk pandoc | |
| ./features/scripts/generate-doc.sh | |
| cp features/generated-features.html _site/features.html | |
| - name: Upload artifact | |
| uses: actions/upload-pages-artifact@v3 | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |