Skip to content

ci: Set up AppMap

ci: Set up AppMap #19

Workflow file for this run

name: My workflow
on:
push:
branches:
- main
pull_request:
schedule:
- cron: '0 0 * * 0'
permissions:
actions: read
checks: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- run: bundle exec rspec
- name: Save AppMaps
uses: actions/cache@v3
if: always()
with:
path: ./tmp/appmap
key: appmaps-${{ github.sha }}-${{ github.run_attempt }}
appmap-analysis:
if: always()
needs: [test]
uses: getappmap/analyze-action/.github/workflows/appmap-analysis.yml@v1
permissions:
actions: read
checks: write
contents: read
pull-requests: write