From 71a369b0ebcb8b333f128c345f0768dc58fe9b65 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Thu, 8 Feb 2024 17:49:05 +0100 Subject: [PATCH] Improve CI - Add Dependabot - Update actions - Test against latest Ruby version --- .github/dependabot.yml | 6 ++++++ .github/workflows/ruby.yml | 13 ++++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..ca79ca5 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index b256b34..013624d 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [ master ] +permissions: + contents: read + jobs: test: name: Ruby specs @@ -13,14 +16,14 @@ jobs: strategy: matrix: - ruby-version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2'] - experimental: [false] + ruby-version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3'] + channel: [stable] include: - ruby-version: 'head' - experimental: true + channel: experimental - continue-on-error: ${{ matrix.experimental }} + continue-on-error: ${{ matrix.channel != 'stable' }} env: SP_USERNAME: test @@ -32,7 +35,7 @@ jobs: run: | sudo apt-get update sudo apt-get -yq --no-install-suggests --no-install-recommends install libmagic-dev - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: