From 4777eeaedc90c97b1ad551abdf53a0486d004710 Mon Sep 17 00:00:00 2001 From: meyric Date: Fri, 23 Feb 2024 15:54:08 +0000 Subject: [PATCH] WIP: Update CI workflow --- .github/workflows/build.yml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 34fce7d..e20e474 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,20 +11,16 @@ jobs: - uses: actions/checkout@v4 - name: Set up Ruby uses: ruby/setup-ruby@v1 - - name: Set up cache - uses: actions/cache@preview with: - path: vendor/bundle - key: ${{ runner.os }}-gem-${{ hashFiles('**/mail-notify.gemspec') }} - restore-keys: | - ${{ runner.os }}-gem- - - name: Build and test with Rake + bundler-cache: true + - name: Setup run: | - sudo apt-get update - sudo apt-get install sqlite3 libsqlite3-dev - gem install bundler --version "2.3.27" - bundle install --jobs 4 --retry 3 --path ./vendor/bundle - bundle exec rake + gem install bundler + bundle install + - name: Linting + run: bin/standardrb + - name: Specs + run: bin/rspec - name: Coveralls uses: coverallsapp/github-action@v2 with: