Throw an error when change set creation fails #175
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: Test & Build | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| paths-ignore: | |
| - '**.md' | |
| jobs: | |
| test-and-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Nix | |
| uses: DeterminateSystems/[email protected] | |
| - name: Cache Clojure dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| key: clj-${{ github.repository }}-${{ hashFiles('**/deps.edn') }} | |
| restore-keys: clj-${{ github.repository }}- | |
| path: | | |
| ~/.gitlibs | |
| ~/.m2/repository | |
| - name: Configure AWS credentials | |
| uses: aws-actions/configure-aws-credentials@v4 | |
| with: | |
| aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
| aws-region: us-east-1 | |
| aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
| mask-aws-account-id: no | |
| - name: Build devShell | |
| run: nix build .#devShells.x86_64-linux.default | |
| - name: Run tests and build jar | |
| run: nix develop -c clojure -T:build ci :snapshot true |