ci: fix issue with permissions #270
Workflow file for this run
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
| name: Shell Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| pull_request: | |
| jobs: | |
| shell_tests: | |
| name: ${{ matrix.interface }} CLI | |
| runs-on: selfhosted-heavy | |
| container: devraymondsh/ubuntu-rust:22.04-latest | |
| strategy: | |
| matrix: | |
| interface: [ Advanced, Simple, Silo, Outputs ] | |
| include: | |
| - interface: Advanced | |
| args: --path ./cli --no-default-features -F advanced | |
| script: scripts/advanced.sh | |
| - interface: Simple | |
| args: --path ./cli | |
| script: scripts/simple.sh | |
| - interface: Silo | |
| args: --path ./cli | |
| script: scripts/simple-silo.sh | |
| - interface: Outputs | |
| args: --path ./cli | |
| script: scripts/different-outputs.sh | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| apt update | |
| apt install -y libssl-dev jq python3-venv pkg-config | |
| - name: Install aurora-cli | |
| uses: actions-rs/cargo@v1 | |
| with: | |
| command: install | |
| args: ${{ matrix.args }} | |
| - run: ${{ matrix.script }} | |
| - name: Check neard | |
| if: always() | |
| run: ls -la $HOME/.nearup/near/localnet/ |