fix: return error instead of panicking if fetching from ipfs fails #3141
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: License headers check | |
| on: | |
| push: | |
| branches: [ main, dev ] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| check: | |
| name: License headers check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
| - name: Install addlicense | |
| run: | | |
| wget https://github.com/google/addlicense/releases/download/v1.1.1/addlicense_1.1.1_Linux_x86_64.tar.gz | |
| tar -xzf addlicense_1.1.1_Linux_x86_64.tar.gz | |
| sudo mv addlicense /usr/local/bin | |
| - name: Check license headers | |
| run: > | |
| addlicense \ | |
| -check \ | |
| -c "Edge & Node, GraphOps, and Semiotic Labs." \ | |
| -l "apache" \ | |
| -s=only \ | |
| -ignore '.github/workflows/*.yml' \ | |
| -ignore '.github/*.yml' \ | |
| -ignore '.github/workflows/*.yaml' \ | |
| -ignore '.github/*.yaml' \ | |
| -ignore 'migrations/*.sql' \ | |
| -ignore 'crates/dips/src/proto/*' \ | |
| -ignore 'crates/dips/proto/*' \ | |
| . |