diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 64744a1..a603bd3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,15 +6,15 @@ on: jobs: release-please: - + # Run on latest ubuntu distribution runs-on: ubuntu-latest - + # Enviroment Variables env: GEM_NAME: "warframe" RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }} - + steps: # start release-please - uses: GoogleCloudPlatform/release-please-action@v2 @@ -25,18 +25,16 @@ jobs: package-name: ${{ env.GEM_NAME }} bump-minor-pre-major: true version-file: "lib/${{ env.GEM_NAME }}/version.rb" - - # Check out this repo. + + # Check out this repo. - uses: actions/checkout@v2 if: ${{ steps.release.outputs.release_created }} - + # Set up ruby. - uses: ruby/setup-ruby@v1 - with: - ruby-version: 3.0 if: ${{ steps.release.outputs.release_created }} - # Build and push to rubygems.org + # Build and push to rubygems.org - name: Release Gem run: | gem install bundler diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 9379dfd..344a75c 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -16,7 +16,6 @@ jobs: - uses: actions/checkout@v1 - uses: ruby/setup-ruby@v1 with: - ruby-version: 3.0 bundler-cache: false - uses: reviewdog/action-rubocop@v2 with: diff --git a/.github/workflows/rspec.yml b/.github/workflows/rspec.yml index f443e40..8272487 100644 --- a/.github/workflows/rspec.yml +++ b/.github/workflows/rspec.yml @@ -10,9 +10,10 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: matrix: + os: [ubuntu-latest, macos-latest, windows-latest] ruby: [ '2.5', '2.6', '3.0', '3.1' ] steps: - uses: actions/checkout@v2 diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 0000000..fd2a018 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +3.1.0