git.delta.rocks / unique-network / refs/commits / 72eeab0afdc8

difftreelog

source

.github/workflows/make-bench.yml1.9 KiBsourcehistory
1# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586837012/Code+style+testing2# Nested workflow for checks related to formatting Rust code 34name: make-bench56# Triger: only call from main workflow(re-usable workflows)7on:8  push:9    branches:10      - "feature/ci-make-bench"11  workflow_dispatch:1213jobs:14  bench:15    runs-on: [ XL ]16    steps:17      - name: Clean Workspace18        uses: AutoModality/action-clean@v1.1.01920      - uses: actions/checkout@v3.3.021        with:22          ref: develop 2324      - name: Read .env file25        uses: xom9ikk/dotenv@v2        2627      - name: Install actual toolchain28        uses: actions-rs/toolchain@v129        with:30            toolchain: ${{ env.RUST_TOOLCHAIN }}31            default: true32            target: wasm32-unknown-unknown3334      - name: Run cargo check35        uses: actions-rs/cargo@v136        with:37          command: check3839      # - name: Create new branch from develop40      #   run: |41      #     git config user.name "Unique"42      #     git config user.email github-actions@usetech.com43      #     git checkout -b ci/make-bench develop4445      - name: RUN benchmarking46        run: |47          time make bench-unique4849      - name: show git diff50        run: |51          git diff5253      # - name: Create PR54      #   run: |55      #     git config user.name "Unique"56      #     git config user.email github-actions@usetech.com57      #     git commit -a -m "commit benchmarking for on $(date)"5859      - name: Create Pull Request60        uses: peter-evans/create-pull-request@v4.2.361        with:62          base: develop63          branch: ci/make-bench64          commit-message: commit benchmarking65          committer: Unique <noreply@github.com>66          author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>67          signoff: false68          delete-branch: true69          title: 'CI Make BENCH'70          assignees: BuddyGlas71          reviewers: BuddyGlas