From e859d2ab0ceafc1ca78b774b26d2ff95359269b6 Mon Sep 17 00:00:00 2001 From: Robert Fisher Date: Sat, 28 Sep 2024 14:14:01 +0100 Subject: [PATCH] use checkout v4, minor lint fixes --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 7 ++++--- lib/wavefront-sdk/report.rb | 2 +- spec/spec_helper.rb | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2aa1624..3bf8180 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set env run: echo "RELEASE_VERSION=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0dbc845..7bfd556 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,16 +2,17 @@ name: Test on: push: - branches-ignore: release + branches-ignore: + - release jobs: test: runs-on: ubuntu-latest strategy: matrix: - ruby-version: [3.0, 3.1, 3.2] + ruby-version: [3.0, 3.1, 3.2, 3.3] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: diff --git a/lib/wavefront-sdk/report.rb b/lib/wavefront-sdk/report.rb index d4cf03c..ae2506e 100644 --- a/lib/wavefront-sdk/report.rb +++ b/lib/wavefront-sdk/report.rb @@ -12,7 +12,7 @@ module Wavefront class Report < Write def initialize(creds = {}, opts = {}) opts[:writer] = :api - super(creds, opts) + super end end end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 2d5eb24..e58b40e 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -16,7 +16,7 @@ class WavefrontTestBase < Minitest::Test def initialize(args) require_relative libfile_to_test setup_fixtures if respond_to?(:setup_fixtures) - super(args) + super end def libfile_to_test