diff options
| author | 2022-06-08 16:09:18 +0200 | |
|---|---|---|
| committer | 2022-06-08 16:09:18 +0200 | |
| commit | 8769c3b1c10590d9701c262a6a078199c410538f (patch) | |
| tree | 7fcbfb0a9dfa7529959c706cd111cf1f4be25180 | |
| parent | e7a74562dd64cca18e8882d8579768e4d8142a7d (diff) | |
| download | markdown-rs-8769c3b1c10590d9701c262a6a078199c410538f.tar.gz markdown-rs-8769c3b1c10590d9701c262a6a078199c410538f.tar.bz2 markdown-rs-8769c3b1c10590d9701c262a6a078199c410538f.zip  | |
Add site
Diffstat (limited to '')
| -rw-r--r-- | .github/workflows/main.yml | 33 | 
1 files changed, 25 insertions, 8 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f394c98..094a15e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,22 +3,39 @@ on:    - pull_request    - push  jobs: -  main: -    name: ${{matrix.rust}} +  beta:      runs-on: ubuntu-latest      steps:        - uses: actions/checkout@v2        - uses: actions-rs/toolchain@v1          with: -          toolchain: ${{matrix.rust}} +          toolchain: beta            components: rustfmt, clippy        - run: cargo clippy -- -W clippy::pedantic        - run: cargo fmt --all -- --check        - run: cargo test        # - run: cargo install cargo-tarpaulin && cargo tarpaulin --out Xml        # - uses: codecov/codecov-action@v1 -    strategy: -      matrix: -        rust: -          - stable -          - beta +  stable: +    runs-on: ubuntu-latest +    steps: +      - uses: actions/checkout@v2 +      - uses: actions-rs/toolchain@v1 +        with: +          toolchain: stable +          components: rustfmt, clippy +      - run: cargo clippy -- -W clippy::pedantic +      - run: cargo fmt --all -- --check +      - run: cargo test +      # - run: cargo install cargo-tarpaulin && cargo tarpaulin --out Xml +      # - uses: codecov/codecov-action@v1 +      - run: cargo doc --document-private-items +      - name: Deploy +        uses: JamesIves/github-pages-deploy-action@v4.3.3 +        with: +          branch: gh-pages +          folder: target/doc/micromark +          single-commit: true +          commit-message: . +          git-config-name: Titus Wormer +          git-config-email: tituswormer@gmail.com  | 
