summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml6
-rw-r--r--.github/workflows/gempush.yml28
2 files changed, 3 insertions, 31 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index baca5cf..34bb403 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- ruby: ['2.6', '2.7', '3.0']
+ ruby: ['3.2', '3.3', '3.4']
steps:
- uses: actions/checkout@v2
with:
@@ -31,7 +31,7 @@ jobs:
submodules: recursive
- uses: ruby/setup-ruby@v1
with:
- ruby-version: '3.0'
+ ruby-version: '3.4'
bundler-cache: true
- run: ./bin/style
audit:
@@ -43,7 +43,7 @@ jobs:
submodules: recursive
- uses: ruby/setup-ruby@v1
with:
- ruby-version: '3.0'
+ ruby-version: '3.4'
bundler-cache: true
- run: ./bin/audit
docker:
diff --git a/.github/workflows/gempush.yml b/.github/workflows/gempush.yml
deleted file mode 100644
index 5e3331c..0000000
--- a/.github/workflows/gempush.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-name: Ruby Gem
-
-on:
- release:
- types: [published]
-
-jobs:
- build:
- name: Publish
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v2
- - name: Set up Ruby 2.6
- uses: actions/setup-ruby@v1
- with:
- version: 2.6.x
-
- - name: Publish to RubyGems
- run: |
- mkdir -p $HOME/.gem
- touch $HOME/.gem/credentials
- chmod 0600 $HOME/.gem/credentials
- printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
- gem build *.gemspec
- gem push *.gem
- env:
- GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}