diff --git a/.github/workflows/dart_ci.yaml b/.github/workflows/dart_ci.yaml index c3acdf6..f22689a 100644 --- a/.github/workflows/dart_ci.yaml +++ b/.github/workflows/dart_ci.yaml @@ -5,6 +5,8 @@ on: branches: - 'master' - 'test_consume_*' + tags: + - '*' pull_request: branches: - '*' @@ -13,7 +15,7 @@ jobs: format: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: dart-lang/setup-dart@v1 with: sdk: 2.19.6 @@ -23,9 +25,9 @@ jobs: strategy: fail-fast: false matrix: - sdk: [ 2.18.7, stable, beta ] + sdk: [ 2.19.6, stable, beta ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: dart-lang/setup-dart@v1 with: sdk: ${{ matrix.sdk }} @@ -34,14 +36,19 @@ jobs: - run: dart analyze - run: dart test test/lib - run: dart test test/bin + - uses: anchore/sbom-action@v0 + if: ${{ matrix.sdk == 'stable' }} + with: + path: ./ + format: cyclonedx-json example: runs-on: ubuntu-latest strategy: fail-fast: false matrix: - sdk: [ 2.18.7, stable, beta ] + sdk: [ 2.19.6, stable, beta ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: dart-lang/setup-dart@v1 with: sdk: ${{ matrix.sdk }} diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 79aec30..0000000 --- a/Dockerfile +++ /dev/null @@ -1,5 +0,0 @@ -FROM google/dart:2.13.4 -WORKDIR /build/ -ADD pubspec.yaml /build -RUN dart pub get -FROM scratch diff --git a/skynet.yaml b/skynet.yaml deleted file mode 100644 index 9e39b41..0000000 --- a/skynet.yaml +++ /dev/null @@ -1,10 +0,0 @@ -description: basic skynet -contact: "#dart-lang" -image: drydock.workiva.net/workiva/skynet-images:bash_curl_alpinelatest-latest -size: small -timeout: short -run: - on-tag: true - on-pull-request: true -scripts: - - echo "No tests currently set"