chore: re-enable dependabot with 2-day cooldown #494
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: Build | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 | |
| - run: yarn install | |
| - run: yarn install | |
| working-directory: test/crashtracker | |
| - run: yarn lint | |
| build-test-wasm: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| crate: | |
| - library_config | |
| - datadog-js-zstd | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: 'Use composite action' | |
| uses: ./.github/actions/build-test-wasm | |
| with: | |
| crate: '${{ matrix.crate }}' | |
| build: | |
| uses: Datadog/action-prebuildify/.github/workflows/build.yml@main | |
| needs: build-test-wasm | |
| with: | |
| package-manager: 'yarn' | |
| cache: false | |
| min-node-version: 18 | |
| rust: true | |
| only: darwin-arm64,darwin-x64,linux-arm64,linux-x64 | |
| # Need this, now that libdatadog packages libunwind as a submodule | |
| prebuild: '(command -v apk >/dev/null && apk add autoconf automake libtool) || (command -v apt-get >/dev/null && apt-get update && apt-get install -y autoconf automake libtool) || true' | |
| package-size: | |
| runs-on: ubuntu-latest | |
| needs: build | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 | |
| - run: yarn install | |
| - name: Compute module size tree and report | |
| uses: qard/heaviest-objects-in-the-universe@v1 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} |