Fix version issue in lazer publisher and rust sdks (#2955) #468
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| pull_request: | |
| paths: | |
| - lazer/contracts/aptos/** | |
| push: | |
| branches: | |
| - main | |
| name: Lazer Aptos Contract | |
| jobs: | |
| aptos-tests: | |
| name: Aptos tests | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: lazer/contracts/aptos/ | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Download CLI | |
| run: wget https://github.com/aptos-labs/aptos-core/releases/download/aptos-cli-v6.1.1/aptos-cli-6.1.1-Ubuntu-22.04-x86_64.zip | |
| - name: Unzip CLI | |
| run: unzip aptos-cli-6.1.1-Ubuntu-22.04-x86_64.zip | |
| - name: Run tests | |
| run: ./aptos move test |