Skip to content

Commit

Permalink
Prettify workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
uvlad7 committed Oct 14, 2023
1 parent d0ec5d4 commit 1c4f20e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ jobs:
- "2.7.8"

steps:
- uses: actions/checkout@v3
- name: Set up Ruby & Rust
- name: Checkout
uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down
25 changes: 13 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- master

pull_request:
types: [opened, reopened]
types: [ opened, reopened ]

jobs:
build:
Expand All @@ -20,14 +20,15 @@ jobs:
- "1.72.1"

steps:
- uses: actions/checkout@v3
- name: Set up Ruby & Rust
uses: oxidize-rb/actions/setup-ruby-and-rust@v1
with:
ruby-version: ${{ matrix.ruby }}
rustup-toolchain: ${{ matrix.rust }}
bundler-cache: true
cargo-cache: true
rubygems: '3.4.14'
- name: Run the default task
run: bundle exec rake
- name: Checkout
uses: actions/checkout@v3
- name: Set up Ruby & Rust
uses: oxidize-rb/actions/setup-ruby-and-rust@v1
with:
ruby-version: ${{ matrix.ruby }}
rustup-toolchain: ${{ matrix.rust }}
bundler-cache: true
cargo-cache: true
rubygems: '3.4.14'
- name: Run the default task
run: bundle exec rake

0 comments on commit 1c4f20e

Please sign in to comment.