diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..71add4a --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,3 @@ +# Docs: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners + +@friedger diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..047d7e8 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,23 @@ +name: CI +on: [push] +jobs: + tests: + name: 'Test contracts with Clarinet' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: 'Check contracts' + uses: docker://hirosystems/clarinet:2.5.1 + with: + args: check --manifest-path=./Clarinet.toml + - name: 'Run unit tests' + uses: actions/setup-node@v4 + with: + node-version: '20.x' + - run: yarn install + - run: yarn test + - name: 'Export code coverage' + uses: codecov/codecov-action@v1 + with: + files: ./coverage.lcov + verbose: true