diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8bd8d7d4..c3bb74e9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,15 +7,15 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - name: Set up node - uses: actions/setup-node@v3 + uses: actions/setup-node@v6 with: - python-version: '10.x' + node-version: '10.x' - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: python-version: '3.x' diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 8cf3ef0b..00000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: python - -python: 3.8 - -install: - - npm install - - pip install jsonchecker - -script: - # JSON Lint: - - grunt - - # Skip this file, it has valid duplicates: - - rm data/words/verbs_with_conjugations.json - - # Check for duplicate values: - - jsonchecker data --values --quiet diff --git a/Gruntfile.js b/Gruntfile.js index 1055bace..93cb9cc5 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -16,8 +16,4 @@ module.exports = function (grunt) { // Default task. grunt.registerTask('default', 'jsonlint'); - - // Travis CI task. - grunt.registerTask('travis', 'jsonlint'); - }; diff --git a/README.md b/README.md index 30b564f1..49964d49 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ This project is not meant to replace exhaustive APIs -- if you want nouns, and y We accept pull requests to this repository. Some guidelines: * BY SUBMITTING DATA AS A PULL REQUEST, YOU AGREE TO OUR APPLYING A [CC0](http://creativecommons.org/publicdomain/zero/1.0/) FREE CULTURE LICENSE TO THE DATA, MEANING THAT ANYONE CAN USE THE DATA FOR ANY REASON WITHOUT ATTRIBUTION IN PERPETUITY. - * Please submit all data as JSON format in a file with a `.json` extension, and please [JSONLint](http://jsonlint.com/) your files before submitting -- also, thanks to [Matt Rothenberg](https://github.com/mroth) we have Travis-CI testing, which will jsonlint your pull request automatically. If you see a test failure notification in your PR after you submit, there's a problem with your JSON! + * Please submit all data as JSON format in a file with a `.json` extension, and please [JSONLint](http://jsonlint.com/) your files before submitting -- also, thanks to [Matt Rothenberg](https://github.com/mroth) we have CI testing, which will jsonlint your pull request automatically. If you see a test failure notification in your PR after you submit, there's a problem with your JSON! * Keep individual files to about 1000 "things" maximum. Fewer than 1000 is fine, too. * If you'd like attribution, I'm happy to include your name in this Readme file. Just remember that nobody who uses this data is obligated to include attribution in their own projects. diff --git a/package.json b/package.json index 32ca7388..9a8bfc51 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "grunt-cli": "^0.1.13" }, "scripts": { - "test": "grunt travis --verbose" + "test": "grunt --verbose" }, "repository": { "type": "git",