Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Keisn1 authored Nov 11, 2024
1 parent 0fdb750 commit ad52c69
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on: [push]
name: Run Test

jobs:
hello_world_job:
runs-on: ubuntu-latest
name: Test Run
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Launch the local action
uses: ./ # Uses an action in the root directory
id: badge
with:
debug: true
directory: ./
badge: ./output/badge.svg
ignore: 'node_modules/|README'

- name: Print the output
run: |
echo "Scanned: ${{ steps.badge.outputs.counted_files }}";
echo "Line Count: ${{ steps.badge.outputs.total_lines }}";

0 comments on commit ad52c69

Please sign in to comment.