diff --git a/.github/workflows/chrome.workflow.yml b/.github/workflows/chrome.workflow.yml index 4cdee531..4e5bbafd 100644 --- a/.github/workflows/chrome.workflow.yml +++ b/.github/workflows/chrome.workflow.yml @@ -20,15 +20,21 @@ jobs: build: # The type of runner that the job will run on runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + sdk: [3.2.0, stable, dev] # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 - - uses: dart-lang/setup-dart@v1 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 + with: + sdk: ${{ matrix.sdk }} - name: Install dependencies run: dart pub get - name: Test chrome - run: dart pub run test -j 1 -p chrome + run: dart test -j 1 -p chrome diff --git a/.github/workflows/health.yaml b/.github/workflows/health.yaml new file mode 100644 index 00000000..e35f6573 --- /dev/null +++ b/.github/workflows/health.yaml @@ -0,0 +1,12 @@ +name: Health +on: + pull_request: + branches: [ main ] + types: [opened, synchronize, reopened, labeled, unlabeled] +jobs: + health: + uses: dart-lang/ecosystem/.github/workflows/health.yaml@9fabe464ea1d8408774de74d2ac759c1f90ae480 + with: + checks: "version,changelog,license,do-not-submit,breaking,coverage,leaking" + permissions: + pull-requests: write \ No newline at end of file diff --git a/.github/workflows/node.workflow.yml b/.github/workflows/node.workflow.yml index 9694ba9f..53996c61 100644 --- a/.github/workflows/node.workflow.yml +++ b/.github/workflows/node.workflow.yml @@ -20,15 +20,21 @@ jobs: build: # The type of runner that the job will run on runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + sdk: [3.2.0, stable, dev] # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 - - uses: dart-lang/setup-dart@v1 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 + with: + sdk: ${{ matrix.sdk }} - name: Install dependencies run: dart pub get - name: Test node - run: dart pub run test -p node + run: dart test -p node diff --git a/.github/workflows/post_summaries.yaml b/.github/workflows/post_summaries.yaml new file mode 100644 index 00000000..fac7e539 --- /dev/null +++ b/.github/workflows/post_summaries.yaml @@ -0,0 +1,16 @@ +name: Comment on the pull request + +on: + # Trigger this workflow after the Health workflow completes. This workflow will have permissions to + # do things like create comments on the PR, even if the original workflow couldn't. + workflow_run: + workflows: + - Health + types: + - completed + +jobs: + upload: + uses: dart-lang/ecosystem/.github/workflows/post_summaries.yaml@main + permissions: + pull-requests: write \ No newline at end of file diff --git a/.github/workflows/vm.workflow.yml b/.github/workflows/vm.workflow.yml index 791b7e1f..0c3b9e6b 100644 --- a/.github/workflows/vm.workflow.yml +++ b/.github/workflows/vm.workflow.yml @@ -19,16 +19,29 @@ jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on - runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + os: [ubuntu, macos, windows] + sdk: [stable] + include: + - os: ubuntu + sdk: 3.2.0 + - os: ubuntu + sdk: dev + + runs-on: ${{ matrix.os }}-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 - - uses: dart-lang/setup-dart@v1 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 + with: + sdk: ${{ matrix.sdk }} - name: Install dependencies run: dart pub get - name: Test dartvm - run: dart pub run test -p vm + run: dart test -p vm diff --git a/pubspec.yaml b/pubspec.yaml index 0eb6193d..51ebd1b9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,9 +1,9 @@ name: pointycastle -version: 3.8.0 +version: 3.9.0 description: A Dart library implementing cryptographic algorithms and primitives, modeled on the BouncyCastle library. homepage: https://github.com/bcgit/pc-dart environment: - sdk: ^3.0.0 + sdk: ^3.2.0 dependencies: collection: ^1.15.0