Skip to content

example commit

example commit #11

Workflow file for this run

on:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Test
run: cargo test
- name: CI Metrics
run: |
wget https://raw.githubusercontent.com/ci-metrics/script/master/run.py
python3 ./run.py
env:
# Variables to interact with CI Metrics.
PUBLIC_KEY: "6546b543a35b7d5af8c93a7b"
PRIVATE_KEY: "206925525691777734527727329171694843736"
# Variables to upload
HEAD: ${{ github.event.pull_request.head.sha }}
DATA_FILE: "./metrics"
# Variables to diff
TOKEN: ${{ secrets.GITHUB_TOKEN }}
BASE: ${{ github.event.pull_request.base.sha }}
ISSUE: ${{ github.event.pull_request.number }}