Skip to content

brancz is testing out GitHub Actions Continuous Profiling 🚀 #56

brancz is testing out GitHub Actions Continuous Profiling 🚀

brancz is testing out GitHub Actions Continuous Profiling 🚀 #56

name: GitHub Actions Demo of Continuous Profiling
run-name: ${{ github.actor }} is testing out GitHub Actions Continuous Profiling 🚀
on: [push]
permissions:
deployments: write
contents: read
pull-requests: read
jobs:
Profile-Your-CI:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- name: Check out the code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- uses: ./ # Uses an action in the root directory.
with:
polarsignals_cloud_token: ${{ secrets.PSTOKEN }}
labels: ref_name=${{ github.ref_name }};workflow=${{ github.workflow }};gh_run_id=${{ github.run_id }}
project_uuid: 7a8644bb-3a90-4a02-be35-efcb6bba4a54
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
- name: Run my little go program that does busy work.
run: cd example-process && go run main.go
- run: echo "🍏 This job's status is ${{ job.status }}." && sleep 10