Skip to content

Workflow file for this run

on:
push:
branches:
- master
env:
CARGO_TERM_COLOR: always
jobs:
rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Format
run: cargo fmt --check
- name: Lint
run: cargo clippy --tests -- --deny warnings
- 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: "9bac68182b35f8df71b2543c38427758"
# Variables to upload
HEAD: ${{ github.event.after }}
DATA_FILE: "./metrics.csv"