Skip to content

Add content-type and filename params for file upload #45

Add content-type and filename params for file upload

Add content-type and filename params for file upload #45

Workflow file for this run

name: Test RocketChat Ruby gem
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2']
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Lint code - Rubocop
run: bundle exec rubocop
- name: Run tests
run: bundle exec rspec
- name: Test & publish code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: abf0a371ff8851f13b563671914b195bb46f0997f0f93142e666d9acad08e22f