Commit graph

94 commits

Author SHA1 Message Date
dependabot[bot]
eb8543db26
Bump coverallsapp/github-action from 2.3.5 to 2.3.6
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.3.5 to 2.3.6.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v2.3.5...v2.3.6)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 23:23:00 +00:00
dependabot[bot]
96cbabe301
Bump coverallsapp/github-action from 2.3.4 to 2.3.5
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v2.3.4...v2.3.5)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-24 23:53:28 +00:00
Tom Hughes
d598623305 Protect against malicious branch names 2024-12-07 17:04:03 +00:00
Andy Allan
35a98e045e Resolve erb_lint deprecations
They have standardized on underscores. See
https://github.com/Shopify/erb_lint/pull/360
2024-11-27 17:11:23 +00:00
Tom Hughes
356738e5c5 Create base and head branches before running danger 2024-10-30 14:59:04 +00:00
Tom Hughes
8e566b0bff Avoid suggesting danger is only about labels 2024-10-26 12:52:13 +01:00
Tom Hughes
754e811b70 Get danger working in GitHub actions 2024-10-26 12:52:12 +01:00
dependabot[bot]
c2e5cd6f8d
Bump coverallsapp/github-action from 2.3.3 to 2.3.4
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.3.3 to 2.3.4.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v2.3.3...v2.3.4)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-24 23:01:43 +00:00
Tom Hughes
8e54d0f2ae Get danger working on pull requests 2024-10-22 19:06:19 +01:00
Tom Hughes
8b55855077 Attempt to get danger working 2024-10-21 20:34:39 +01:00
Tom Hughes
6d0c291332 Attempt to get danger working as a CI workflow
References #5267
2024-10-17 18:41:05 +01:00
dependabot[bot]
752c1402b0
Bump coverallsapp/github-action from 2.3.2 to 2.3.3
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v2.3.2...v2.3.3)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-16 23:06:28 +00:00
Andy Allan
721f8e00b2
Merge pull request #4919 from rkoeze/rkoeze/add-github-pr-template
Add pull request template
2024-10-16 17:19:41 +01:00
Andy Allan
96984421ad
Merge pull request #5216 from kcne/teaspoon-v2
Re-enable JavaScript unit tests using Teaspoon
2024-10-16 16:55:33 +01:00
Andy Allan
b0ffe17cec
Merge pull request #4988 from nenad-vujicic/issue_4912_pr_labeling
Added workflow for PR labeling using Danger
2024-10-16 14:29:59 +01:00
dependabot[bot]
dcb8113da5
Bump coverallsapp/github-action from 2.3.0 to 2.3.2
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.3.0 to 2.3.2.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v2.3.0...v2.3.2)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-15 23:20:06 +00:00
Emin Kocan
e5c5776e65 Add step for creation tmp/pids in test workflow 2024-10-12 20:50:57 +02:00
Andy Allan
1c47363ae3 Run javascript tests in CI 2024-10-12 20:47:26 +02:00
Nenad Vujicic
e307b9037a Added workflow for PR labeling using Danger
Workflow is called when PR is created or updated. It checks if PR is too big (>500 changed lines), changes one of translation files (YML, except en.yml) or contains merge-commits and generates appropriate labels.
2024-10-07 11:21:16 +02:00
Tom Hughes
6789fc3081 Drop support for ruby 3.0
Also add Ubuntu 24.04 and drop 20.04 as 24.04 is needed for
ruby 3.1 without rvm so we should test it.
2024-09-17 20:39:22 +01:00
Tom Hughes
ea397bb5ef Add ruby 3.3 to test matrix 2024-08-14 18:56:03 +01:00
Robert Koeze
e279458832 Add pull request template 2024-06-23 08:54:50 -04:00
dependabot[bot]
05b4cd14f8
Bump coverallsapp/github-action from 2.2.3 to 2.3.0
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.2.3 to 2.3.0.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v2.2.3...v2.3.0)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-08 23:04:38 +00:00
dependabot[bot]
b95d07186f
Bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-17 23:38:38 +00:00
Tom Hughes
67b0b5b885 Run tests on ruby 3.2 2023-12-11 17:18:34 +00:00
Tom Hughes
6cd9caa4e1 Force rubygems 3.4.10 for github actions
This works around a problem where mini_racer doesn't like the psych
in the GitHub Actions images for ruby 3.0 and 3.1 but it fine with
the ruby 3.2 image that uses a newer rubygems version.

https://github.com/rubyjs/mini_racer/issues/289
2023-11-18 11:04:10 +00:00
Tom Hughes
3e085ece00 Use db:schema:load to populate the database when linting annotations 2023-10-18 18:26:14 +01:00
Gregory Igelmund
aa573ce1bb
.github/workflows/lint.yml: Add task verifying annotations are up2date 2023-10-14 11:28:44 +08:00
Tobias
d42455d491 Docker: Use docker compose in Docs and Workflow
Also extend "Tests" section on how to prepare the tests
2023-10-04 19:33:58 +02:00
dependabot[bot]
9a055251a5
Bump coverallsapp/github-action from 2.2.2 to 2.2.3
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v2.2.2...v2.2.3)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-07 23:46:21 +00:00
Tom Hughes
f5095fe3bd Merge remote-tracking branch 'upstream/pull/4229' 2023-09-05 08:26:06 +01:00
dependabot[bot]
749ba82e89
Bump coverallsapp/github-action from 2.2.1 to 2.2.2
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 23:17:23 +00:00
dependabot[bot]
07c95fc425
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 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/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 23:17:21 +00:00
dependabot[bot]
6939413a09
Bump coverallsapp/github-action from 2.2.0 to 2.2.1
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v2.2.0...v2.2.1)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 23:19:20 +00:00
dependabot[bot]
0fe01ba5e2
Bump coverallsapp/github-action from 2.1.2 to 2.2.0
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v2.1.2...v2.2.0)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 23:57:20 +00:00
Andy Allan
c21c6f8402 Update workflows to run on Ubuntu 22.04 2023-05-31 12:07:47 +01:00
Tom Hughes
218b140912 Limit coveralls to reading lcov output
Fixes #4043
2023-05-24 18:19:52 +01:00
Tom Hughes
302a53d767 Update minimum ruby version to 3.0 2023-05-16 19:02:29 +01:00
dependabot[bot]
38b74c1c48
Bump coverallsapp/github-action from 2.1.0 to 2.1.2
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.1.0 to 2.1.2.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v2.1.0...v2.1.2)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-19 23:56:51 +00:00
dependabot[bot]
ce00b921cb
Bump coverallsapp/github-action from 1.2.4 to 2.1.0
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 1.2.4 to 2.1.0.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v1.2.4...v2.1.0)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-10 23:57:28 +00:00
dependabot[bot]
b31951000f
Bump coverallsapp/github-action from 1.2.2 to 1.2.4
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 1.2.2 to 1.2.4.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v1.2.2...v1.2.4)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 23:57:09 +00:00
dependabot[bot]
1a2d6e87ce
Bump coverallsapp/github-action from 1.2.1 to 1.2.2
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 23:57:10 +00:00
Tom Hughes
3511978403 Bump coverallsapp/github-action to 1.2.1 2023-02-27 12:22:17 +00:00
dependabot[bot]
3ee57f72aa
Bump coverallsapp/github-action from 1.1.3 to 1.2.0
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 1.1.3 to 1.2.0.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/1.1.3...v1.2.0)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-24 23:56:58 +00:00
Andy Allan
581bf517cb Use bin/yarn consistently for installations
Since rails 7, the `rails yarn:install` command no longer uses
bin/yarn and so a) doesn't detect yarn binaries named "yarnpkg"
(e.g. Ubuntu) and b) doesn't allow us to pass any flags to yarn,
(e.g. "--ignore-engines").

Since we want to avoid making the installation more difficult (by
e.g. installing yarn from other sources, or requiring particular
node versions) we can instead just use our existing bin/yarn script.

The reason Dockerfile did its own thing was to avoid pulling in
big chunks of rails, but bin/yarn is a standalone ruby script.

Fixes #3579
2023-01-11 13:58:54 +00:00
Tom Hughes
6b2a5db1fa Add an entry for translation issues to the issue template 2022-12-30 10:56:15 +00:00
Andy Allan
61e0fa5f63 Quote ruby versions in yaml
Without quotes these are parsed as numbers, which can cause subtle
problems. For example, "ruby: 3.0" is interpreted by the
ruby/setup-rubyaction as "ruby: 3", meaning 3.x instead of the
intended 3.0.x
2022-12-28 10:04:32 +00:00
Tom Hughes
72c7d202a8 Precompile assets before running tests in actions workflows 2022-12-21 19:13:57 +00:00
Tom Hughes
fb9219a52f Use rails instead of rake 2022-12-21 17:09:21 +00:00
Tom Hughes
8b92cf9e90 Run tests on ubuntu 20.04 and 22.04 with ruby 3.1
Ubuntu 22.04 actually uses ruby 3.0 but ruby/setup-ruby currently
only supports ruby 3.1 there so this is the best we can do.
2022-12-09 15:45:48 +00:00