Skip to content

Commit

Permalink
Merge pull request #19 from sittercity/ch138081
Browse files Browse the repository at this point in the history
Upgrade to bureaucrat 3.2.4
  • Loading branch information
jonathan-fantham authored Oct 3, 2024
2 parents f809444 + 594f264 commit 59cc208
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 19 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/gem_push_beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ on: [pull_request]

env:
BUNDLER_ACCESS_TOKEN: ${{ secrets.TECH_OPS_ACCESS_TOKEN }}
BUNDLE_RUBYGEMS__PKG__GITHUB__COM: ${{ secrets.TECH_OPS_ACCESS_TOKEN }}

jobs:
build:
name: Test + Build + Publish
runs-on: ubuntu-20.04
env:
BUNDLER_ACCESS_TOKEN: ${{ secrets.TECH_OPS_ACCESS_TOKEN }}

services:
redis:
Expand All @@ -21,22 +20,13 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Ruby 2.7
- name: Set up Ruby
uses: ruby/setup-ruby@v1

- name: Configure Gem Cache
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
bundler-cache: true

- name: Setup Tests
run: |
gem install bundler:1.17.3
bundle config rubygems.pkg.github.com x-access-token:$BUNDLER_ACCESS_TOKEN
make setup
run: make setup

- name: Test
run: make test
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/gem_push_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
branches: [ master ]

env:
BUNDLER_ACCESS_TOKEN: ${{ secrets.TECH_OPS_ACCESS_TOKEN }}
BUNDLE_RUBYGEMS__PKG__GITHUB__COM: ${{ secrets.TECH_OPS_ACCESS_TOKEN }}

jobs:
build:
name: Build + Publish
Expand All @@ -12,8 +16,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Ruby 2.7
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true

- name: Publish to GPR
run: |
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.2
3.2.4
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
bureaucrat-sc (3.1.0)
bureaucrat-sc (3.1.1)
activesupport (>= 6.0.4, < 7.0)
i18n

Expand Down Expand Up @@ -46,4 +46,4 @@ DEPENDENCIES
rspec (= 3.6.0)

BUNDLED WITH
1.17.3
2.5.19
2 changes: 1 addition & 1 deletion lib/bureaucrat/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Bureaucrat
VERSION = '3.1.0'
VERSION = '3.1.1'
end

0 comments on commit 59cc208

Please sign in to comment.