github.com/grafana/pyroscope@v1.18.0/.github/workflows/test-examples.yml (about) 1 name: Test Examples 2 on: 3 schedule: 4 - cron: '13 1 * * *' 5 workflow_dispatch: 6 concurrency: 7 # Cancel any running workflow for the same branch when new commits are pushed. 8 # We group both by ref_name (available when CI is triggered by a push to a branch/tag) 9 # and head_ref (available when CI is triggered by a PR). 10 group: "${{ github.ref_name }}-${{ github.head_ref }}" 11 cancel-in-progress: true 12 permissions: 13 contents: read 14 jobs: 15 test: 16 runs-on: ${{ github.repository_owner == 'grafana' && 'ubuntu-x64-large' || 'ubuntu-latest' }} 17 steps: 18 - name: Checkout code 19 uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 20 with: 21 persist-credentials: 'false' 22 - name: Install Go 23 uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0 24 with: 25 go-version: 1.24.12 26 - name: Run tests 27 run: make examples/test