Skip to content
Permalink
Browse files

Merge pull request #1196 from rbenv/ci-actions

Add CI via Actions
  • Loading branch information
mislav committed Oct 23, 2019
2 parents 0c3967a + 8bb5b16 commit c46a970595036718f1b6d3ed8f38833820df709e
Showing with 35 additions and 7 deletions.
  1. +19 −0 .github/workflows/ci.yml
  2. +16 −0 .github/workflows/release.yml
  3. +0 −7 .travis.yml
@@ -0,0 +1,19 @@
name: CI
on: [push]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
native_ext: ['', '1']
os: [ubuntu-latest, macOS-latest]

steps:
- uses: actions/checkout@v1
- name: Install bats
run: git clone --depth 1 https://github.com/sstephenson/bats.git
- name: Run tests
env:
RBENV_NATIVE_EXT: ${{ matrix.native_ext }}
run: PATH="./bats/bin:$PATH" test/run
@@ -0,0 +1,16 @@
name: Release
on:
push:
tags: 'v*'

jobs:
homebrew:
name: Bump Homebrew formula
runs-on: ubuntu-latest
steps:
- uses: mislav/bump-homebrew-formula-action@v1.4
if: "!contains(github.ref, '-')" # skip prereleases
with:
formula-name: rbenv
env:
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}

This file was deleted.

0 comments on commit c46a970

Please sign in to comment.
You can’t perform that action at this time.