ci: updated automation and add Vault #2
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 | ||
|
Check failure on line 1 in .github/workflows/ci.yml
|
||
| on: | ||
| push: | ||
| workflow_dispatch: | ||
| concurrency: | ||
| group: ci-${{ github.ref }} | ||
| cancel-in-progress: true | ||
| jobs: | ||
| build-with-coverage: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Setup Node.js environment | ||
| uses: actions/[email protected] | ||
| with: | ||
| node-version: "22" | ||
| cache: "npm" | ||
| - name: Setup Copywrite | ||
| uses: hashicorp/setup-copywrite | ||
| - name: Install dependencies | ||
| run: make install-dependencies | ||
| - name: Configure git for private modules | ||
| env: | ||
| TOKEN: ${{ secrets.SPECTRO_TOKEN }} | ||
| USER: ${{ secrets.SPECTRO_USER }} | ||
| run: git config --global url."https://${USER}:${TOKEN}@github.com".insteadOf "https://github.com" | ||
| - name: Ensure Reviewable | ||
| run: make check-diff | ||
| - name: Generate | ||
| run: make generate | ||
| - name: Test | ||
| run: make test | ||