diff --git a/.github/workflows/scanner-core-ci.yml b/.github/workflows/scanner-core-ci.yml new file mode 100644 index 0000000..5fcd8cf --- /dev/null +++ b/.github/workflows/scanner-core-ci.yml @@ -0,0 +1,26 @@ +name: Scanner Core CI + +on: + push: + branches: + - main + pull_request: + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + name: Rust project - latest + runs-on: ubuntu-latest + strategy: + matrix: + toolchain: + - stable + - beta + - nightly + steps: + - uses: actions/checkout@v4 + - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} + - run: cargo build --verbose + working-directory: ./packages/scanner-core diff --git a/.github/workflows/scanner-sdk-ci.yml b/.github/workflows/scanner-sdk-ci.yml new file mode 100644 index 0000000..6680fae --- /dev/null +++ b/.github/workflows/scanner-sdk-ci.yml @@ -0,0 +1,47 @@ +name: Scanner Sdk CI + +on: + push: + branches: + - main + pull_request: + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: ['16.x', '18.x', '20.x'] + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + working-directory: ./packages/scanner-sdk + - run: npm run build + working-directory: ./packages/scanner-sdk + + + test: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: ['16.x', '18.x', '20.x'] + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + working-directory: ./packages/scanner-sdk + - run: npm run test + working-directory: ./packages/scanner-sdk \ No newline at end of file diff --git a/README.md b/README.md index cee63b9..87f0523 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,11 @@ Cover by [DALL-E](https://openai.com/dall-e-3/). ## Introduction -Coming soon. +This repository is a scanner of massa smart contracts to extract some valuable informations from bytecode. + +It contains two packages: +- the [scanner-core](./packages/scanner-core/README.md) +- the [scanner-sdk](./packages/scanner-sdk/README.md) ## Contributing