diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f8c93a0..851dacf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,9 @@ jobs: uses: actions/checkout@v4 - name: Install OS dependencies - run: sudo apt-get -y install libyaml-dev + run: | + sudo apt-get update + sudo apt-get install -y libyaml-dev zsh # Rush needed for easy installation of stuff - name: Install rush @@ -31,13 +33,10 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 - with: + with: ruby-version: '${{ matrix.ruby }}' bundler-cache: true - - name: Install zsh - run: sudo apt install -y zsh - - name: Run tests run: bundle exec rspec @@ -62,11 +61,13 @@ jobs: # libyaml needed for Ruby's YAML library - name: Install OS dependencies - run: sudo apt-get -y install libyaml-dev + run: | + sudo apt-get update + sudo apt-get install -y libyaml-dev - name: Setup Ruby uses: ruby/setup-ruby@v1 - with: + with: ruby-version: '3.4' bundler-cache: true @@ -83,7 +84,9 @@ jobs: uses: actions/checkout@v4 - name: Install OS dependencies - run: sudo apt-get -y install codespell + run: | + sudo apt-get update + sudo apt-get install -y codespell - name: Run codespell - run: codespell + run: codespell \ No newline at end of file