From 26b35f5776f1339679a6cf7cfba528227f752370 Mon Sep 17 00:00:00 2001 From: Bharath KKB Date: Sat, 13 Feb 2021 13:39:55 -0600 Subject: [PATCH 1/4] feat: Add new GitHub env tag --- ci/google.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/google.yml b/ci/google.yml index cc3cffb..5e803ed 100644 --- a/ci/google.yml +++ b/ci/google.yml @@ -27,6 +27,7 @@ jobs: setup-build-publish-deploy: name: Setup, Build, Publish, and Deploy runs-on: ubuntu-latest + environment: production steps: - name: Checkout From 3cf906bc1bf47f7da3fafe67423b374774389ee2 Mon Sep 17 00:00:00 2001 From: Michael Thomsen Date: Fri, 26 Feb 2021 23:25:23 +0100 Subject: [PATCH 2/4] Update dart.yml (#820) * Update dart.yml Update Dart starter workflow to use `setup-dart` from the Dart team. This enables testing on more operating systems (Linux, Windows, and macOS), and offers more control over the Dart SDK version to test with. * Update dart.yml Add required disclaimer * Update ci/dart.yml Co-authored-by: Josh Gross Co-authored-by: Josh Gross --- ci/dart.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/ci/dart.yml b/ci/dart.yml index 138921f..7486577 100644 --- a/ci/dart.yml +++ b/ci/dart.yml @@ -1,3 +1,8 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + name: Dart on: @@ -10,18 +15,14 @@ jobs: build: runs-on: ubuntu-latest - # Note that this workflow uses the latest stable version of the Dart SDK. - # Docker images for other release channels - like dev and beta - are also - # available. See https://hub.docker.com/r/google/dart/ for the available - # images. - container: - image: google/dart:latest - steps: - uses: actions/checkout@v2 - - name: Print Dart SDK version - run: dart --version + # Note: This workflow uses the latest stable version of the Dart SDK. + # You can specify other versions if desired, see documentation here: + # https://github.com/dart-lang/setup-dart/blob/main/README.md + # - uses: dart-lang/setup-dart@v1 + - uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603 - name: Install dependencies run: dart pub get From db576e4bf486f3f0592e3d5ed45bcae36d8fa3e5 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 26 Feb 2021 23:31:13 +0100 Subject: [PATCH 3/4] Make the validation strict by default (#824) Co-authored-by: Josh Gross --- ci/php.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/php.yml b/ci/php.yml index 5053b43..f811a18 100644 --- a/ci/php.yml +++ b/ci/php.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v2 - name: Validate composer.json and composer.lock - run: composer validate + run: composer validate --strict - name: Cache Composer packages id: composer-cache From a1152703407cf97bb8e3cb39eeb909649f69fa02 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 26 Feb 2021 23:34:09 +0100 Subject: [PATCH 4/4] Always run composer install even if the vendor dir was restored (#825) Co-authored-by: Josh Gross --- ci/php.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/ci/php.yml b/ci/php.yml index f811a18..e1dceef 100644 --- a/ci/php.yml +++ b/ci/php.yml @@ -27,7 +27,6 @@ jobs: ${{ runner.os }}-php- - name: Install dependencies - if: steps.composer-cache.outputs.cache-hit != 'true' run: composer install --prefer-dist --no-progress --no-suggest # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"