refactor: add support for Gentoo and Slackware package management in … #110
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: ci | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup Fluent CI | |
| uses: fluentci-io/setup-fluentci@v5 | |
| with: | |
| wasm: true | |
| plugin: rust | |
| args: setup | |
| env: | |
| GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Run fmt | |
| run: | | |
| type cargo | |
| cargo fmt --all --check | |
| - name: Run tests | |
| run: | | |
| cargo test |