From a03246176b46c48ff14597d936f27a79a464716c Mon Sep 17 00:00:00 2001 From: tusharmathur-wk Date: Tue, 2 Apr 2024 19:23:48 +0530 Subject: [PATCH] FEDX-685 : GHA OSS changes to dart_codemod --- .github/workflows/dart_ci.yaml | 4 ++++ Dockerfile | 5 ----- skynet.yaml | 19 ------------------- 3 files changed, 4 insertions(+), 24 deletions(-) delete mode 100644 Dockerfile delete mode 100644 skynet.yaml diff --git a/.github/workflows/dart_ci.yaml b/.github/workflows/dart_ci.yaml index 9693724..8426fe1 100644 --- a/.github/workflows/dart_ci.yaml +++ b/.github/workflows/dart_ci.yaml @@ -31,6 +31,10 @@ jobs: run: dart analyze - name: Run tests run: dart test + - uses: anchore/sbom-action@v0 + with: + path: ./ + format: cyclonedx-json # If new major versions of analyzer are released in the future and we want to # be compatible with multiple majors, use this workflow to validate. diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 5b70fd9..0000000 --- a/Dockerfile +++ /dev/null @@ -1,5 +0,0 @@ -FROM dart:2.19.6 as build -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 01d4833..0000000 --- a/skynet.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: verify-github-actions -description: Verify that the github actions run passed, this is needed to make pipelines pass without manual intervention -contact: 'Frontend Frameworks Architecture / #support-frontend-architecture' -image: drydock.workiva.net/workiva/skynet-images:3728345 # Uses the image from this branch: https://github.com/Workiva/skynet-images/pull/127 -size: small -timeout: 600 - -run: - on-pull-request: true - on-promotion: true - when-modified-file-name-is: - - skynet.yaml - -env: -# encrypted github token used for requests to api.github.com - - secure: +LDNyjraYQid1+rwIlipW5rY28rFC+UtaUIqLYUae6BuoOp6l6k0xfimWhLKRyzG3sGTo0fiwulFPeTtpCl5k741dkY= - -scripts: - - python3 /actions/verify_github_actions.py