Skip to content

Commit

Permalink
add action from marketplace
Browse files Browse the repository at this point in the history
  • Loading branch information
satya k committed Jan 24, 2024
1 parent 79770fa commit a76bc98
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/syntax-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Python application

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Check out the code
uses: actions/checkout@v2
10 changes: 10 additions & 0 deletions 100daysofcode.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from datetime import date

start = date(2020, 1, 1)
today = date.today()
delta = today - start

if (delta.days < 101):
print("Today is day {}".format(delta.days))
else:
print('100 Days of Code sprint has ended')

0 comments on commit a76bc98

Please sign in to comment.