summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
AgeCommit message (Collapse)Author
2021-07-29Install `bison` on the platforms.removing-y-tab-cYukihiro "Matz" Matsumoto
2021-07-29Install `bison` explicitly on MinGw and Windows-VC.Yukihiro "Matz" Matsumoto
2021-07-29y.tab.c: remove auto generated `y.tab.c` from repository.Yukihiro "Matz" Matsumoto
It used to be generated in the build, but `bison` required to generation was too hard to install correctly on MacOS and Windows (version mismatch and package maneger issues). This is retry.
2021-07-23build(deps): bump github/super-linter from 4.5.0 to 4.5.1dependabot[bot]
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.5.0 to 4.5.1. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.5.0...v4.5.1) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2021-07-15build(deps): bump github/super-linter from 4.4.1 to 4.5.0dependabot[bot]
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.4.1 to 4.5.0. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.4.1...v4.5.0) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2021-07-14build(deps): bump github/super-linter from 4.3.0 to 4.4.1dependabot[bot]
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.3.0 to 4.4.1. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.3.0...v4.4.1) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2021-07-13build(deps): bump github/super-linter from 4.2.2 to 4.3.0dependabot[bot]
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.2.2 to 4.3.0. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.2.2...v4.3.0) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2021-06-17build(deps): bump actions/upload-artifact from 2.2.3 to 2.2.4dependabot[bot]
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.2.3 to 2.2.4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2.2.3...v2.2.4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2021-06-16Run pre-commit with GitHub ActionsJohn Bampton
Running pre-commit with GitHub Actions now gives us more tests and coverage Remove duplicate GitHub Actions for merge conflicts and trailing whitespace Remove duplicate checks for markdownlint and yamllint from the GitHub Super-Linter Add new custom pre-commit hook running with a shell script to sort alphabetically and uniquify codespell.txt Add new pre-commit hook to check spelling with codespell https://github.com/codespell-project/codespell Fix spelling
2021-06-11build(deps): bump github/super-linter from 4.2.1 to 4.2.2dependabot[bot]
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.2.1 to 4.2.2. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.2.1...v4.2.2) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2021-06-10build(deps): bump github/super-linter from 4.2.0 to 4.2.1dependabot[bot]
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.2.0 to 4.2.1. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.2.0...v4.2.1) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2021-06-09build(deps): bump github/super-linter from 4.1.0 to 4.2.0dependabot[bot]
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.1.0 to 4.2.0. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.1.0...v4.2.0) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2021-06-04build(deps): bump github/super-linter from 4.0.2 to 4.1.0dependabot[bot]
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.0.2 to 4.1.0. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.0.2...v4.1.0) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2021-05-28build(deps): bump actions/cache from 2.1.5 to 2.1.6dependabot[bot]
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.6. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6) Signed-off-by: dependabot[bot] <[email protected]>
2021-05-26build(deps): bump github/super-linter from 3.17.1 to 4.0.2dependabot[bot]
Bumps [github/super-linter](https://github.com/github/super-linter) from 3.17.1 to 4.0.2. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v3.17.1...v4.0.2) Signed-off-by: dependabot[bot] <[email protected]>
2021-05-13build(deps): bump github/super-linter from 3.17.0 to 3.17.1dependabot[bot]
Bumps [github/super-linter](https://github.com/github/super-linter) from 3.17.0 to 3.17.1. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v3.17.0...v3.17.1) Signed-off-by: dependabot[bot] <[email protected]>
2021-05-12build(deps): bump actions/checkout from 2 to 2.3.4dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4) Signed-off-by: dependabot[bot] <[email protected]>
2021-05-05build(deps): bump github/super-linter from v3 to v3.17.0dependabot[bot]
Bumps [github/super-linter](https://github.com/github/super-linter) from v3 to v3.17.0. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v3...28cfebb84fd6dd9e8773b5efe5ac0f8f3714f228) Signed-off-by: dependabot[bot] <[email protected]>
2021-04-16feat(CI): add the GitHub Super LinterJohn Bampton
The GitHub Super Linter is a more robust and better supported tool than the current GitHub Actions we are using. Running these checks: ERROR_ON_MISSING_EXEC_BIT: true VALIDATE_BASH: true VALIDATE_BASH_EXEC: true VALIDATE_EDITORCONFIG: true VALIDATE_MARKDOWN: true VALIDATE_SHELL_SHFMT: true VALIDATE_YAML: true https://github.com/marketplace/actions/super-linter https://github.com/github/super-linter Added the GitHub Super Linter badge to the README. Also updated the pre-commit framework and added more documentation on pre-commit. Added one more pre-commit check: check-executables-have-shebangs Added one extra check for merge conflicts to our GitHub Actions. EditorConfig and Markdown linting. Minor grammar and spelling fixes. Update linter.yml
2021-04-13build(deps): bump actions/cache from v2.1.4 to v2.1.5dependabot[bot]
Bumps [actions/cache](https://github.com/actions/cache) from v2.1.4 to v2.1.5. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2.1.4...1a9e2138d905efd099035b49d8b7a3888c653ca8) Signed-off-by: dependabot[bot] <[email protected]>
2021-04-08codeql-analysis.yml: remove `git checkout HEAD^2`.Yukihiro "Matz" Matsumoto
According to CodeQL instruction, `HEAD^2` is no longer needed.
2021-04-07build(deps): bump actions/upload-artifact from v2.2.2 to v2.2.3dependabot[bot]
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.2 to v2.2.3. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2.2.2...ee69f02b3dfdecd58bb31b4d133da38ba6fe3700) Signed-off-by: dependabot[bot] <[email protected]>
2021-03-23Add `timeout-minutes' to GitHub workflow. [ci skip]Yukihiro "Matz" Matsumoto
2021-03-09chore: upgrade markdownlint GitHub Action node version to 14John Bampton
Upgrade to markdownlint-cli version 0.27.1
2021-02-23Bump actions/setup-node from v2.1.4 to v2.1.5dependabot[bot]
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.4 to v2.1.5. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v2.1.4...46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea) Signed-off-by: dependabot[bot] <[email protected]>
2021-02-16Merge pull request #5356 from ↵Yukihiro "Matz" Matsumoto
mruby/dependabot/github_actions/actions/upload-artifact-v2.2.2 Bump actions/upload-artifact from v1 to v2.2.2
2021-02-16Bump actions/upload-artifact from v1 to v2.2.2dependabot[bot]
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v1 to v2.2.2. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v1...e448a9b857ee2131e752b06002bf0e093c65e571) Signed-off-by: dependabot[bot] <[email protected]>
2021-02-16Bump actions/cache from v2 to v2.1.4dependabot[bot]
Bumps [actions/cache](https://github.com/actions/cache) from v2 to v2.1.4. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6) Signed-off-by: dependabot[bot] <[email protected]>
2021-02-14Refine checking for trailing whitespace [skip travis][skip appveyor]KOBAYASHI Shuji
* Include tabs in checking. * Use `git grep` to avoid including `.git` directory. * Avoid running `grep` multiple times.
2021-02-13refactor: add the spell checker Action to the Lint Action fileJohn Bampton
Order jobs in workflow.
2021-02-13feat(CI): check for trailing whitespaceJohn Bampton
Run on pull request only. Use a shell script to check for trailing whitespace in all files. Fail if trailing whitespace is found.
2021-02-13refactor: only use certified GitHub Actions to increase securityJohn Bampton
Official -> "The individual jobs in a workflow can interact with (and compromise) other jobs. For example, a job querying the environment variables used by a later job, writing files to a shared directory that a later job processes, or even more directly by interacting with the Docker socket and inspecting other running containers and executing commands in them. This means that a compromise of a single action within a workflow can be very significant, as that compromised action would have access to all secrets configured on your repository, and can use the GITHUB_TOKEN to write to the repository. Consequently, there is significant risk in sourcing actions from third-party repositories on GitHub. " https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
2021-02-12Update GitHub Actions.Yukihiro "Matz" Matsumoto
- Remove Ubuntu-16.04 - Add Ubuntu-20.04 {gcc,clang}
2021-02-12Remove "skip ci" hack to GitHub Actions [skip travis][skip appveyor]KOBAYASHI Shuji
GitHub Actions now supports "skip ci" natively: https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/
2021-01-08Delay test code build until `rake test`KOBAYASHI Shuji
With this change, the test code will not be built unless `rake test` is run, so there will be almost no side effects even if `enable_test` is always set (but, gems specified by `add_test_dependency` are included in `libmruby.a`). Also added are `test: build` task, which only builds the test code (including the main code), and `test: run` task, which only runs tests independent of build. Therefore, the idiom for building in parallel and not running tests in parallel is `rake -m test:build && rake test:run`.
2021-01-07Immediately flush output to stdout/stderr so that logs are not mixed on CIKOBAYASHI Shuji
Set in build configuration to enable on all CI platforms.
2020-12-21Fix typo in `.github/workflows/build.yml` [skip travis][skip appveyor]KOBAYASHI Shuji
2020-12-20Use `git ls-files` instead of `find` in `spell-checker.yml` [ci skip]KOBAYASHI Shuji
To avoid including `.git` directory.
2020-12-20Reorganize GitHub Actions configuration [skip travis][skip appveyor]KOBAYASHI Shuji
* Skip if commit message contains `ci skip`, `skip ci`, or `skip gha` ENCLOSED WITH BRACKETS (excluding lint job). * Separate build and test. This is because builds can be run in parallel, but running tests in parallel can cause logs to get mixed up or not finished. * Don't use Chocolatey because it seems to take 1-2 minutes to start up. * Use the cache better. * Use `actions/checkout@v2` instead of `actions/checkout@v1`. * Remove unnecessary package installation. * Remove unnecessary flag settings. * Remove `-j` for rake because it doesn't seem to have any effect. * Rename `main.yml` to `oss-fuzz.yml` to clarify.
2020-12-19feat(CI): add a GitHub Action to lint the MarkdownJohn Bampton
Run on pull request only Using https://www.npmjs.com/package/markdownlint-cli Lint Markdown for rules: - MD009/no-trailing-spaces - MD012/no-multiple-blanks - MD022/blanks-around-headings - MD031/blanks-around-fences - MD032/blanks-around-lists
2020-12-17feat(CI): add a GitHub Action to check spellingJohn Bampton
- Fix spelling - Run only on pull request - Using https://github.com/client9/misspell
2020-12-16Merge pull request #5224 from jbampton/lint-yamlYukihiro "Matz" Matsumoto
feat(CI): add a GitHub Action to lint the YAML
2020-12-16Rename build configuration files for CIKOBAYASHI Shuji
Currently, there are build configuration files for CI, `travis.rb` and `appveyor.rb`, but they are used for GCC/Clang and MSVC, not for Travis CI and Appveyor, respectively. Therefore, rename them to `gcc-clang.rb` and `msvc.rb`, respectively, and move them under `build_config/ci/` to clarify that they are for CI.
2020-12-15feat(CI): add a GitHub Action to lint the YAMLJohn Bampton
- Run only on pull request - Add a `.yamllint` config file - Lint YAML
2020-12-15refactor: remove trailing whitespace from C, Header, Ruby and YAML filesJohn Bampton
Lint
2020-11-17Fix deprecated `set-env` command error on GitHub Actions [ci skip]KOBAYASHI Shuji
I tried `$GITHUB_PATH` and `$GITHUB_ENV` instead of `set-env`, but for some reason path was not recognized, so I changed to using `ACTIONS_ALLOW_UNSECURE_COMMANDS`.
2020-10-19Revert `MRUBY_TARGET` mechanism; ref #5096KOBAYASHI Shuji
* In explanation of mruby, the expression `build_config.rb` is frequently used including official documents, so I think that it will not make sense if the file is no longer used. * The `MRUBY_TARGET` mechanism seems to have little improvement, so I don't think it should be changed to avoid unnecessary confusion. * `MRUBY_TARGET` and `MRuby.targets` represent somewhat different things, so using the same term "target" is a bit confusing. The mechanism that can be written short when using a file under `build_config` (renamed from `target`) directory remains (`build_config/${MRUBY_CONFIG}.rb` is used if the path specified in `MRUBY_CONFIG` doesn't exist).
2020-10-12Fix wrong YAML in `.github/workflows/build.yml`.Yukihiro "Matz" Matsumoto
2020-10-12Invoke `rake gensym` for GitHub action build.Yukihiro "Matz" Matsumoto
2020-10-12Add explicit `gensym` to GitHub Actions.Yukihiro "Matz" Matsumoto