Daily Lines of Code Report #3
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: Weekly LoC | |
on: | |
schedule: | |
# Every Friday at midnight | |
- cron: "0 0 * * 5" | |
workflow_dispatch: | |
env: | |
RUST_VERSION: 1.80.1 | |
jobs: | |
loc: | |
name: Count ethrex loc and generate report | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Rustup toolchain install | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: ${{ env.RUST_VERSION }} | |
- name: Add Rust Cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Generate the loc report | |
run: make loc |