Skip to content

Bump github/codeql-action from 2 to 3 (#11) #74

Bump github/codeql-action from 2 to 3 (#11)

Bump github/codeql-action from 2 to 3 (#11) #74

Workflow file for this run

name: ci
on:
push:
branches: [main]
paths-ignore: ['**.md', '.rubocop.yml']
pull_request:
branches: [main]
types: [opened, synchronize, reopened]
paths-ignore: ['**.md', '.rubocop.yml']
defaults:
run:
shell: bash
jobs:
build-and-test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
ruby-version: ['2.7']
runs-on: ${{ matrix.os }}
steps:
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v4
- name: Set up Ruby [${{ matrix.ruby-version }}]
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Install protoc
uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build and install
shell: bash
run: |
gem build *.gemspec
gem install *.gem
proto-convert --help
- name: Run tests [${{ matrix.os }}]
shell: bash
run: cd test && ./run_tests.sh