.github/workflows/ci.yml in dry-monads-sorbet-1.1.5 vs .github/workflows/ci.yml in dry-monads-sorbet-1.1.6.pre

- old
+ new

@@ -16,25 +16,29 @@ run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" id: extract_branch - name: Install Linux dependencies run: sudo apt-get update -qq && sudo apt-get install -y libsqlite3-dev - name: Set up Ruby - uses: actions/setup-ruby@v1.1.1 + uses: ruby/setup-ruby@v1 with: ruby-version: 2.6.6 - name: Cache gems - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: vendor/bundle key: "${{ runner.OS }}-gem-cache-${{ hashFiles('**/dry-monads-sorbet.gemspec') }}" restore-keys: "${{ runner.OS }}-gem-cache-\n" - name: Install bundler run: (bundler -v | grep "2.1.4") || gem install bundler:2.1.4 + - name: Remove metrics from bundled gems + run: bundle config set without 'metrics' - name: Install gems - run: bundle install --jobs $(nproc) --retry 3 --without metrics --path vendor/bundle + run: bundle install --jobs $(nproc) --retry 3 --path vendor/bundle - name: Create cache directory run: mkdir -p tmp/cache + - name: Typecheck with Sorbet + run: bundle exec srb tc . --ignore=/vendor - name: Run RSpec test suite run: bundle exec rspec spec env: METRICS: '1' - name: Post to Slack if build fails