Skip to content

Commit

Permalink
github-workflows: no need to download oxipng, it is included in image…
Browse files Browse the repository at this point in the history
…_optim_pack
  • Loading branch information
toy committed May 9, 2024
1 parent 9e4c80f commit 66303f8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
ruby-version: "${{ matrix.ruby }}"
bundler-cache: true
- run: sudo npm install -g svgo
- run: curl -L "https://github.com/shssoichiro/oxipng/releases/download/v4.0.3/oxipng-4.0.3-x86_64-unknown-linux-musl.tar.gz" | tar -xz -C /usr/local/bin --strip-components 1 --wildcards '*oxipng'
- run: bundle exec image_optim --info
- run: bundle exec rspec
legacy:
Expand All @@ -53,7 +52,6 @@ jobs:
nvm install 16
npm install -g svgo
echo "PATH=$PATH" >> $GITHUB_ENV
- run: curl -L "https://github.com/shssoichiro/oxipng/releases/download/v4.0.3/oxipng-4.0.3-x86_64-unknown-linux-musl.tar.gz" | tar -xz -C /usr/local/bin --strip-components 1 --wildcards '*oxipng'
- run: bundle exec bin/image_optim --info
- run: bundle exec rspec
windows:
Expand Down Expand Up @@ -100,7 +98,6 @@ jobs:
ruby-version: '3'
bundler-cache: true
- run: sudo npm install -g svgo
- run: curl -L "https://github.com/shssoichiro/oxipng/releases/download/v4.0.3/oxipng-4.0.3-x86_64-unknown-linux-musl.tar.gz" | tar -xz -C /usr/local/bin --strip-components 1 --wildcards '*oxipng'
- uses: paambaati/codeclimate-action@v2.7.5
with:
coverageCommand: bundle exec rspec

0 comments on commit 66303f8

Please sign in to comment.