Source clear #107
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: Source clear | |
on: | |
push: | |
branches: [ master ] | |
schedule: | |
# Runs "weekly" | |
- cron: '0 0 * * 0' | |
jobs: | |
source_clear: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.1' | |
bundler-cache: true | |
- name: Source clear scan | |
env: | |
SRCCLR_API_TOKEN: ${{ secrets.SRCCLR_API_TOKEN }} | |
run: curl -sSL https://download.sourceclear.com/ci.sh | bash -s - scan |