diff --git a/.github/main.workflow b/.github/main.workflow deleted file mode 100644 index 39c3cca..0000000 --- a/.github/main.workflow +++ /dev/null @@ -1,9 +0,0 @@ -workflow "Lint" { - resolves = ["Rubocop"] - on = "push" -} - -action "Rubocop" { - uses = "lautis/rubocop-action@master" - secrets = ["GITHUB_TOKEN"] -} diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml new file mode 100644 index 0000000..0c810aa --- /dev/null +++ b/.github/workflows/ruby.yml @@ -0,0 +1,14 @@ +name: Ruby + +on: [push] + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - uses: lautis/rubocop-action@master + name: Lint + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}