Skip to content

Commit

Permalink
Prep for review
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelburnham committed Jul 29, 2024
1 parent 314be62 commit 4e75352
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions .github/workflows/fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
name: Update fixtures

on:
push:
branches:
- "fix/fixtures"
workflow_dispatch: {}
# Once per day at 00:00 UTC
schedule:
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 4e75352

Please sign in to comment.