Skip to content

Standards

Standards #1139

Workflow file for this run

name: Standards
on:
schedule:
- cron: "0 0 * * *"
jobs:
run-standards:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Set up Node v14
uses: actions/setup-node@v2
with:
node-version: "14"
- name: Run Standards Scripts
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
bash scripts/standard-python.sh
bash scripts/standard-swift.sh
bash scripts/standard-ruby-2.sh
bash scripts/standard-typescript.sh
bash scripts/standard-kotlin.sh
bash scripts/standard-go.sh
bash scripts/standard-cpp-11.sh
bash scripts/standard-java.sh
- name: Trigger Autotest CircleCI Build After 15 Minutes
env:
CODECOV_DEVOPS_CIRCLECI_TOKEN: ${{ secrets.CODECOV_DEVOPS_CIRCLECI_TOKEN }}
run: |
echo "Sleep for 15 minutes..."
sleep 15m
curl --request POST \
--url https://circleci.com/api/v2/project/gh/codecov/autotest/pipeline \
--header "Circle-Token: ${CODECOV_DEVOPS_CIRCLECI_TOKEN}" \
--header 'content-type: application/json' \
--data '{"branch":"master"}'