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

difftreelog

fix CI make-bench

Konstantin Astakhov2023-01-29parent: #85e1e11.patch.diff
in: master

1 file changed

modified.github/workflows/make-bench.ymldiffbeforeafterboth
before · .github/workflows/make-bench.yml
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  # workflow_call:9  workflow_dispatch:1011jobs:12  bench:13    runs-on: [ XL ]14    steps:15      - name: Clean Workspace16        uses: AutoModality/action-clean@v1.1.01718      - uses: actions/checkout@v3.3.019        with:20          ref: develop 2122      - name: Read .env file23        uses: xom9ikk/dotenv@v2        2425      - name: Install actual toolchain26        uses: actions-rs/toolchain@v127        with:28            toolchain: ${{ env.RUST_TOOLCHAIN }}29            default: true30            target: wasm32-unknown-unknown3132      - name: Run cargo check33        uses: actions-rs/cargo@v134        with:35          command: check3637      # - name: Create new branch from develop38      #   run: |39      #     git config user.name "Unique"40      #     git config user.email github-actions@usetech.com41      #     git checkout -b ci/make-bench develop4243      - name: RUN benchmarking44        run: |45          time make bench-unique4647      - name: show git diff48        run: |49          git diff5051      # - name: Create PR52      #   run: |53      #     git config user.name "Unique"54      #     git config user.email github-actions@usetech.com55      #     git commit -a -m "commit benchmarking for on $(date)"5657      - name: Create Pull Request58        uses: peter-evans/create-pull-request@v4.2.359        with:60          base: develop61          branch: ci/make-bench62          commit-message: commit benchmarking63          committer: Unique <noreply@github.com>64          author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>65          signoff: false66          delete-branch: true67          title: 'CI Make BENCH'68          assignees: BuddyGlas69          reviewers: BuddyGlas
after · .github/workflows/make-bench.yml
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