Skip to content

Commit

Permalink
Add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
p3lim committed Apr 24, 2023
1 parent a2159c2 commit 54f0609
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Run action on test files

on:
push:
workflow_dispatch:

jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Clone project
uses: actions/checkout@v2

- name: Update license year
uses: p3lim/license-year-updater@master
with:
files: |
tests/license_many.txt
tests/license_nothing.txt
tests/license_year.txt
tests/license_years.txt
tests/not_license.txt
- name: Show diff
run: git diff tests/

0 comments on commit 54f0609

Please sign in to comment.