Skip to content

Update dependencies and add deployment instructions #74

Update dependencies and add deployment instructions

Update dependencies and add deployment instructions #74

Workflow file for this run

name: build status
on:
push:
pull_request:
jobs:
build:
name: build status
runs-on: ubuntu-latest
env:
# Force colored output in Github Actions logs
FORCE_COLOR: "1"
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v4
- name: Set up Ruby πŸ’Ž
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.0
bundler-cache: true
- name: Install dependencies πŸ“¦
run: bundle install --jobs=3 --retry=3 --deployment
- name: Start Redis πŸš€
uses: supercharge/redis-github-action@1.8.0
- name: Run tests
run: bundle exec rake
- name: Send Slack message πŸ””
# Trigger even if the job fails
if: always()
# See https://github.com/marketplace/actions/slack-notify for configuration options
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_USERNAME: Github Actions
SLACK_ICON: https://avatars.githubusercontent.com/u/11186132?s=200&v=4
SLACK_FOOTER: ""
SLACK_COLOR: ${{ job.status }}
MSG_MINIMAL: commit,actions url
SLACK_TITLE: "${{ github.event_name == 'push' && 'Pushed into' || 'Running PR' }} `${{ github.ref_name }}`"
SLACK_MESSAGE: ${{ github.event.head_commit.message || github.event.pull_request.title }}