diff --git a/.gitignore b/.gitignore index bb993c7e..0208dc2e 100644 --- a/.gitignore +++ b/.gitignore @@ -12,8 +12,3 @@ pubspec.lock package-lock.json /benchmark/source node_modules/ - -# These are downloaded as part of Travis builds, so we need to gitignore them to -# make sure they aren't deployed when we "pub lish". -/dart-sdk -/dart.zip diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 89ee19b2..3caf1dd8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -72,7 +72,7 @@ Before you send a pull request, we recommend you run the following steps: can also just check that there aren't any warnings in there. * `pub run test -x node` will run the tests for the Dart VM API. These are a - good sanity check, but they aren't comprehensive; Travis CI will also run + good sanity check, but they aren't comprehensive; GitHub Actions will also run Node.js API tests and Sass language tests, all of which must pass before your pull request is merged. See [Changing the Language](#changing-the-language) and [Changing the Node API](#changing-the-node-api) for more details. diff --git a/README.md b/README.md index 3dd24bce..151509c9 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ A [Dart][dart] implementation of [Sass][sass]. **Sass makes CSS fun again**. Pub version
- Travis build status + GitHub actions build status @SassCSS on Twitter diff --git a/package/README.npm.md b/package/README.npm.md index d337c2c3..6784f49d 100644 --- a/package/README.npm.md +++ b/package/README.npm.md @@ -9,7 +9,7 @@ A pure JavaScript implementation of [Sass][sass]. **Sass makes CSS fun again**. npm statistics - Travis build status + GitHub actions build status
Appveyor build status diff --git a/tool/github-action/sass-spec-ref.sh b/tool/github-action/sass-spec-ref.sh index 222bd3b2..654f77c2 100755 --- a/tool/github-action/sass-spec-ref.sh +++ b/tool/github-action/sass-spec-ref.sh @@ -3,9 +3,10 @@ # license that can be found in the LICENSE file or at # https://opensource.org/licenses/MIT. -# Echoes the sass-spec Git ref that should be checked out for the current Travis -# run. If we're running specs for a pull request which refers to a sass-spec -# pull request, we'll run against the latter rather than sass-spec master. +# Echoes the sass-spec Git ref that should be checked out for the current GitHub +# Actions run. If we're running specs for a pull request which refers to a +# sass-spec pull request, we'll run against the latter rather than sass-spec +# master. GITHUB_REF=${PR_REF:-$CURRENT_REF} if [[ "$GITHUB_REF" == refs/heads/feature.* ]]; then diff --git a/tool/grind/sanity_check.dart b/tool/grind/sanity_check.dart index 4aec1993..b3eb83b8 100644 --- a/tool/grind/sanity_check.dart +++ b/tool/grind/sanity_check.dart @@ -13,10 +13,9 @@ import 'utils.dart'; @Task('Verify that the package is in a good state to release.') void sanityCheckBeforeRelease() { - var travisTag = environment("TRAVIS_TAG"); - if (travisTag != pkg.version.toString()) { - fail("TRAVIS_TAG $travisTag is different than pubspec version " - "${pkg.version}."); + var ref = environment("GITHUB_REF"); + if (ref != pkg.version.toString()) { + fail("GITHUB_REF $ref is different than pubspec version ${pkg.version}."); } if (listEquals(pkg.version.preRelease, ["dev"])) {