diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-10 08:05:55 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-10 08:05:55 +0900 |
commit | 7881f6219bf880c130537a10c9eb75b9a6573946 (patch) | |
tree | 1be3c59c1cda542c7c67595c1fb2b53675eb3601 | |
parent | 28afc4176b2dfbb6632732e757c0e4054cb04a4c (diff) | |
download | psych-7881f6219bf880c130537a10c9eb75b9a6573946.tar.gz |
Use ruby/setup-ruby-pkgs for dependencies
-rw-r--r-- | .github/workflows/ubuntu.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 1d8ca05..4411def 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -22,13 +22,14 @@ jobs: - { os: windows-latest, ruby: mingw } - { os: windows-latest, ruby: mswin } steps: - - name: Install libraries - run: sudo apt install haveged libyaml-dev - uses: actions/checkout@v3 - name: Set up Ruby - uses: ruby/setup-ruby@v1 + uses: ruby/setup-ruby-pkgs@v1 with: ruby-version: ${{ matrix.ruby }} + apt-get: "haveged libyaml-dev" + brew: libyaml + vcpkg: libyaml - name: Install dependencies run: bundle install - name: Run test |