From eef9d3fd70f91bd20438cafdb001f3a9ad83f62e Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Thu, 2 Jan 2025 11:49:57 -0800 Subject: [PATCH 1/2] Update GitHub workflows --- .github/workflows/ci.yml | 7 +++---- .github/workflows/linter.yml | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 62cf909..417fa52 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: tests: strategy: matrix: - ruby: [ '2.6', '2.7', '3.0' ] + ruby: [ '3.1', '3.2', '3.3', '3.4' ] name: Tests - Ruby ${{ matrix.ruby }} # Set the type of machine to run on @@ -19,9 +19,9 @@ jobs: steps: # Checks out a copy of your repository on the ubuntu-latest machine - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: vendor/bundle key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} @@ -42,4 +42,3 @@ jobs: - name: Run tests run: | bundle exec rake test - diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 42c317f..4b87a48 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -36,7 +36,7 @@ jobs: # Checkout the code base # ########################## - name: Checkout Code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: # Full git history is needed to get a proper list of changed files within `super-linter` fetch-depth: 0 From 98c2b5a80397b43efa8910ac59cb8a9c176afca1 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Thu, 2 Jan 2025 12:09:44 -0800 Subject: [PATCH 2/2] More updates --- .github/workflows/ci.yml | 4 ++-- .github/workflows/linter.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 417fa52..710cdbd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,9 +19,9 @@ jobs: steps: # Checks out a copy of your repository on the ubuntu-latest machine - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: vendor/bundle key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 4b87a48..5c253c5 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -36,7 +36,7 @@ jobs: # Checkout the code base # ########################## - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Full git history is needed to get a proper list of changed files within `super-linter` fetch-depth: 0 @@ -45,7 +45,7 @@ jobs: # Run Linter against code base # ################################ - name: Lint Code Base - uses: github/super-linter@v3 + uses: github/super-linter@v7 env: VALIDATE_ALL_CODEBASE: false DEFAULT_BRANCH: main