Skip to content

Commit

Permalink
Fix rust checks (#3576)
Browse files Browse the repository at this point in the history
* added cargo.lock

* added Cargo.lock as an artifact

* added new bytecode with lock file
  • Loading branch information
nicolaslara authored Nov 30, 2022
1 parent b6635d6 commit 14419b9
Show file tree
Hide file tree
Showing 5 changed files with 922 additions and 20 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ jobs:
path: ${{ matrix.contract.workdir }}${{ matrix.contract.build }}
retention-days: 1

- name: 'Upload Cargo.lock artifact'
uses: actions/upload-artifact@v3
with:
name: Cargo.lock
path: ${{ matrix.contract.workdir }}Cargo.lock
retention-days: 1

- name: Check Test Data
working-directory: ${{ matrix.contract.workdir }}
if: ${{ matrix.contract.output != null }}
Expand Down
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,6 @@ target/
# Generated by rust-optimizer
artifacts/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

Expand All @@ -233,4 +229,4 @@ blocks.db

# Ignore e2e test artifacts (which clould leak information if commited)
.ash_history
.bash_history
.bash_history
Loading

0 comments on commit 14419b9

Please sign in to comment.