diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 68f88d4ddd..30c503b9a0 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -9,7 +9,7 @@ on: jobs: backport: name: Backport - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 # Only react to merged PRs for security reasons. # See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target. if: | diff --git a/.github/workflows/brakeman-analysis.yml b/.github/workflows/brakeman-analysis.yml index ff1a99f6b4..51e7b0bb0f 100644 --- a/.github/workflows/brakeman-analysis.yml +++ b/.github/workflows/brakeman-analysis.yml @@ -19,7 +19,7 @@ on: jobs: brakeman-scan: name: Brakeman Scan - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: # Checkout the repository to the GitHub Actions runner - name: Checkout diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index cfaf92e32e..851ba4ac86 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -16,7 +16,7 @@ on: jobs: check_bun_lock: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 name: Check bun.lockdb steps: - uses: actions/checkout@v4 @@ -31,7 +31,7 @@ jobs: bun_lock_changed: ${{ steps.changed-bun-lock.outputs.any_changed }} build_javascript: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 name: Build JS packages needs: check_bun_lock if: needs.check_bun_lock.outputs.bun_lock_changed == 'true' @@ -58,7 +58,7 @@ jobs: RSpec: needs: [check_bun_lock, build_javascript] if: ${{ success('check_bun_lock') && !failure('build_javascript') }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -152,10 +152,12 @@ jobs: if: failure() with: name: Screenshots - path: spec/dummy/tmp/screenshots + path: | + spec/dummy/tmp/capybara + spec/dummy/tmp/screenshots PushJavascript: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [check_bun_lock, RSpec] if: github.event_name == 'pull_request' steps: @@ -187,7 +189,7 @@ jobs: branch: ${{ github.head_ref }} Jest: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 env: NODE_ENV: test steps: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ba2b2e5f1f..160ac82114 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,7 +8,7 @@ concurrency: jobs: Standard: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v4 @@ -21,7 +21,7 @@ jobs: - name: Lint Ruby files run: bundle exec standardrb ESLint: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -39,7 +39,7 @@ jobs: - name: Lint code run: bun run --bun eslint Prettier: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index acdc5bff94..1821afb177 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -6,7 +6,7 @@ on: jobs: stale: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/stale@v5 diff --git a/Gemfile b/Gemfile index bfd4591f2f..d5ed225ffe 100644 --- a/Gemfile +++ b/Gemfile @@ -15,7 +15,7 @@ if ENV["DB"] == "mysql" || ENV["DB"] == "mariadb" end gem "pg", "~> 1.0" if ENV["DB"] == "postgresql" -gem "alchemy_i18n", github: "AlchemyCMS/alchemy_i18n", branch: "download-flatpickr-locales" +gem "alchemy_i18n", github: "AlchemyCMS/alchemy_i18n", branch: "main" group :development, :test do gem "execjs", "~> 2.9.1"