Skip to content

Edit linter file path in yml #7

Edit linter file path in yml

Edit linter file path in yml #7

name: GitHub Actions
on:
push:
pull_request:
jobs:
Run_linter:
runs-on: ubuntu-latest
steps:
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@main
- run: echo "The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- name: Run linter
run: |
${{ github.workspace }}/linting-testing-workflow/linter.sh
- run: echo "This job's status is ${{ job.status }}."