-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
DenizBT
committed
Nov 4, 2023
1 parent
0a397b1
commit cd554a2
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
name: GitHub Actions | ||
run-name: ${{ github.actor }} is running a workflow on GitHub actions. | ||
on: [push, pull-request] | ||
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 | ||
uses: actions/checkout@v2 # Corrected "main" to "v2" | ||
- 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: | | ||
/linting-testing-workflow/linter.sh | ||
- run: echo "This job's status is ${{ job.status }}." | ||
run: | | ||
/linting-testing-workflow/linter.sh | ||
- run: echo "This job's status is ${{ job.status }}." |