From 1c4f20ec27c5687fa5146225728e75dea20dd7af Mon Sep 17 00:00:00 2001 From: uvlad7 Date: Sun, 15 Oct 2023 00:58:37 +0300 Subject: [PATCH] Prettify workflow --- .github/workflows/docs.yml | 5 +++-- .github/workflows/main.yml | 25 +++++++++++++------------ 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index fbd5abd..ee96aae 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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 }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0cba621..1d240bf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,7 +6,7 @@ on: - master pull_request: - types: [opened, reopened] + types: [ opened, reopened ] jobs: build: @@ -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