From 4e75352e34e1f8ec9fb07c70441a5fb6b65acca8 Mon Sep 17 00:00:00 2001 From: Samuel Burnham <45365069+samuelburnham@users.noreply.github.com> Date: Mon, 29 Jul 2024 16:21:14 -0400 Subject: [PATCH] Prep for review --- .github/workflows/fixtures.yml | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/.github/workflows/fixtures.yml b/.github/workflows/fixtures.yml index ec39991b..7460b250 100644 --- a/.github/workflows/fixtures.yml +++ b/.github/workflows/fixtures.yml @@ -4,9 +4,6 @@ name: Update fixtures on: - push: - branches: - - "fix/fixtures" workflow_dispatch: {} # Once per day at 00:00 UTC schedule: @@ -40,12 +37,9 @@ jobs: uses: ./.github/actions/setup with: pull_token: ${{ secrets.REPO_TOKEN }} - #- name: Generate ${{ matrix.language }} fixtures - # run: | - # cargo run --release -- --program ${{ matrix.fixture }} --language ${{ matrix.language }} - # working-directory: ${{ github.workspace }}/fixture-generator - - run: | - echo "Test fixture" > ${{ github.workspace }}/${{ matrix.fixture-path }}/${{ matrix.fixture }}_fixture.json + - name: Generate ${{ matrix.language }} fixtures + run: | + cargo run --release -- --program ${{ matrix.fixture }} --language ${{ matrix.language }} working-directory: ${{ github.workspace }}/fixture-generator - name: Upload fixture artifact uses: actions/upload-artifact@v4 @@ -70,26 +64,12 @@ jobs: path: ${{ github.workspace }}/${{ env.SOLIDITY_FIXTURE_PATH }} pattern: "solidity_*" merge-multiple: true - - run: ls ${{ github.workspace }}/${{ env.SOLIDITY_FIXTURE_PATH }} - # - name: Rename Solidity fixtures - # run: | - # for file in "solidity_*"; do - # mv "$file" "${file#solidity_}" - # done - # working-directory: ${{ github.workspace }}/${{ env.SOLIDITY_FIXTURE_PATH }} - name: Download Move fixtures uses: actions/download-artifact@v4 with: path: ${{ github.workspace }}/${{ env.MOVE_FIXTURE_PATH }} pattern: "move_*" merge-multiple: true - # - name: Rename Move fixtures - # run: | - # for file in "move_*"; do - # mv "$file" "${file#move_}" - # done - # working-directory: ${{ github.workspace }}/${{ env.MOVE_FIXTURE_PATH }} - - run: git diff - name: Create Pull Request uses: peter-evans/create-pull-request@v6 with: