Skip to content

Create anchore-syft.yml #174

Create anchore-syft.yml

Create anchore-syft.yml #174

Workflow file for this run

name: Run rubocop
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: git fetch origin +refs/tags/*:refs/tags/*
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- name: Install and run Rubocop
run: |
bundle install
bundle exec rubocop --cache false