Update dependency sass to v1.81.0 #8657
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Static analysis | |
on: [pull_request] | |
jobs: | |
graphql-inspector: | |
name: graphql-inspector | |
runs-on: ubuntu-latest | |
if: github.actor != 'dependabot[bot]' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install libvips42 | |
run: sudo apt-get update && sudo apt-get install libvips42 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Generate GraphQL schema file | |
run: bin/rails graphql:schema:dump | |
- uses: kamilkisiela/graphql-inspector@master | |
with: | |
schema: 'main:schema.graphql' | |
rubocop: | |
runs-on: ubuntu-latest | |
if: github.actor != 'dependabot[bot]' | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: rubocop | |
uses: reviewdog/action-rubocop@v2 | |
with: | |
skip_install: true | |
use_bundler: true | |
only_changed: true | |
eslint: | |
name: eslint | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: yarn | |
- run: yarn install | |
- run: mkdir -p /home/runner/.local/bin | |
- run: echo "#!/bin/sh" > /home/runner/.local/bin/eslint | |
- run: echo "yarn run eslint \$@" >> /home/runner/.local/bin/eslint | |
- run: cat /home/runner/.local/bin/eslint | |
- run: chmod +x /home/runner/.local/bin/eslint | |
- run: eslint --version | |
- uses: reviewdog/action-eslint@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
eslint_flags: 'app/javascript test/javascript schema.graphql' |