From 3ba3d643e308e67dfea4bdf1f9b315a261799a7c Mon Sep 17 00:00:00 2001 From: Nikita Shilnikov Date: Fri, 15 Mar 2024 15:14:42 +0100 Subject: [PATCH] Update GHA config --- .github/workflows/ci.yml | 10 ++++++---- .github/workflows/docsite.yml | 3 +-- .github/workflows/sync_configs.yml | 4 ++-- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e23ce369..a1c5e6631 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,15 +26,16 @@ jobs: fail-fast: false matrix: ruby: + - '3.3' + - '3.2' - '3.1' - '3.0' - - '2.7' # TODO: re-add both as a separate workflow because it's just too slow # - jruby # - truffleruby group: [rom, compat] include: - - ruby: '3.1' + - ruby: '3.3' coverage: 'false' use_dry_transformer_main: 'true' use_rom_sql_main: 'true' @@ -50,18 +51,19 @@ jobs: SPEC_GROUP: "${{matrix.group}}" services: postgres: - image: postgres:10.8 + image: postgres:16.2 env: POSTGRES_USER: runner POSTGRES_PASSWORD: '' POSTGRES_DB: rom_repository + POSTGRES_HOST_AUTH_METHOD: trust ports: - 5432:5432 options: "--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5" steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Install package dependencies run: "[ -e $APT_DEPS ] || sudo apt-get install -y --no-install-recommends $APT_DEPS" - name: Set up Ruby diff --git a/.github/workflows/docsite.yml b/.github/workflows/docsite.yml index de6937232..8ec995ea6 100644 --- a/.github/workflows/docsite.yml +++ b/.github/workflows/docsite.yml @@ -24,7 +24,7 @@ jobs: - name: Set up Ruby uses: actions/setup-ruby@v1 with: - ruby-version: "2.6.x" + ruby-version: "3.3.x" - name: Set up git user run: | git config --local user.email "rom-bot@rom-rb.org" @@ -60,4 +60,3 @@ jobs: GITHUB_LOGIN: rom-bot GITHUB_TOKEN: ${{secrets.GH_PAT}} run: ossy github workflow rom-rb/rom-rb.org ci - diff --git a/.github/workflows/sync_configs.yml b/.github/workflows/sync_configs.yml index ea344b444..4770359eb 100644 --- a/.github/workflows/sync_configs.yml +++ b/.github/workflows/sync_configs.yml @@ -23,7 +23,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GH_PAT }} steps: - name: Checkout ${{github.repository}} - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Checkout devtools uses: actions/checkout@v2 with: @@ -36,7 +36,7 @@ jobs: - name: Set up Ruby uses: actions/setup-ruby@v1 with: - ruby-version: "2.7" + ruby-version: "3.3" - name: Install dependencies run: gem install ossy --no-document - name: Update changelog.yml from commit