Fix option to only allow users to edit their profile within first 24 hours #130
This file contains 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: Main | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
schedule: | |
- cron: '0 0 * * 0' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Run tests | |
run: bundle exec rails test | |
- name: Save AppMaps | |
uses: actions/cache/save@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 | |
contents: read | |
checks: write | |
pull-requests: write |