nightly #8
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
# AUTOGENERATED FROM nightly.jsonnet DO NOT MODIFY | |
jobs: | |
brew-build: | |
name: Build Semgrep via Brew from HEAD | |
runs-on: macos-latest | |
steps: | |
- env: | |
HOMEBREW_NO_INSTALL_FROM_API: 1 | |
run: brew update --debug --verbose | |
- env: | |
HOMEBREW_NO_INSTALL_FROM_API: 1 | |
NONINTERACTIVE: 1 | |
run: brew install semgrep --HEAD --debug || brew link --overwrite semgrep | |
- env: | |
HOMEBREW_NO_INSTALL_FROM_API: 1 | |
name: Check installed correctly | |
run: brew test semgrep --HEAD | |
notify-failure: | |
if: failure() | |
needs: | |
- brew-build | |
- release-dry-run | |
runs-on: ubuntu-20.04 | |
steps: | |
- run: | | |
curl --request POST \ | |
--url ${{ secrets.NOTIFICATIONS_URL }} \ | |
--header 'content-type: application/json' \ | |
--data "{ | |
\"text\": \"The nightly cron failed on ${{ github.sha }}. See https://github.com/${{github.repository}}/actions/runs/${{github.run_id}} for more information.\" | |
}" | |
release-dry-run: | |
secrets: inherit | |
uses: ./.github/workflows/release.yml | |
with: | |
dry-run: true | |
name: nightly | |
on: | |
schedule: | |
- cron: 26 9 * * * | |
workflow_dispatch: null |