CLI #240
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: CLI | |
| on: | |
| push: | |
| paths: | |
| - ".github/workflows/cli.yml" | |
| - "cli/**" | |
| pull_request: | |
| paths: | |
| - ".github/workflows/cli.yml" | |
| - "cli/**" | |
| schedule: | |
| - cron: 12 4 * * 3 # every Wednesday at 4:12 UTC | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: write | |
| contents: read | |
| steps: | |
| - name: Install nightly | |
| run: | | |
| rustup default nightly | |
| rustup component add clippy rustfmt | |
| - name: Checkout repo | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| # This is needed to test that CHANGELOG.md is up-to-date. | |
| fetch-depth: 0 | |
| - uses: taiki-e/install-action@9ba3ac3fd006a70c6e186a683577abc1ccf0ff3a # v2.54.0 | |
| with: | |
| tool: taplo | |
| - name: Run tests | |
| run: ./ci.sh | |
| working-directory: cli |