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 committed Jan 5, 2023
1 parent 3a4aac2 commit d5dda29
Show file tree
Hide file tree
Showing 4 changed files with 921 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ jobs:
retention-days: 1
if: env.GIT_DIFF

- 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: env.GIT_DIFF
Expand Down
4 changes: 0 additions & 4 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
# Don't commit lock files for test utils
Expand Down
Loading

0 comments on commit d5dda29

Please sign in to comment.