chore(deps): bump grafana/shared-workflows from bc9486e0e7cbe24b54d0dcdf8be459eb777567b0 to b502a15952bab7f72daa1f8ce115491a6d97be59 in the github-actions group #103
Workflow file for this run
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: Build | |
| on: | |
| pull_request: {} | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| persist-credentials: false | |
| - name: setup Crossplane cli | |
| uses: crossplane-contrib/setup-crossplane-action@cb8aac3f1246b19f101e7f85fd0a38623b4d5ad3 # v0.1.1 | |
| - name: setup go-jsonnet | |
| uses: zendesk/setup-jsonnet@f683a0d16f479db69751bd8d3a49a09e22b45b39 # v12 | |
| with: | |
| version: v0.20.0 | |
| - name: setup jrsonnet | |
| uses: grafana/shared-workflows/actions/setup-jrsonnet@b502a15952bab7f72daa1f8ce115491a6d97be59 | |
| - name: Build xpkg | |
| run: "make -B build" | |
| shell: bash | |
| - name: Check if file changed | |
| id: changed | |
| uses: tj-actions/verify-changed-files@a1c6acee9df209257a246f2cc6ae8cb6581c1edf # v20.0.4 | |
| with: | |
| files: | | |
| !bin | |
| - name: No files changed | |
| if: "${{ steps.changed.outputs.files_changed == 'true' }}" | |
| run: "echo 'Please run `make build`' && exit 1" | |
| env: | |
| CHANGED_FILES: "${{ steps.changed.outputs.changed_files }}" |