diff --git a/.github/workflows/main.py b/.github/workflows/main.py new file mode 100644 index 0000000..ebdb4bc --- /dev/null +++ b/.github/workflows/main.py @@ -0,0 +1,7 @@ +name: Test repo code +on: [pull_request] +jobs: + test-our-code: + runs-on: ubuntu-latest + steps: + - run: echo "🎉 Our code works flawelessly." diff --git a/README.md b/README.md index 435339b..31325af 100644 --- a/README.md +++ b/README.md @@ -14,4 +14,6 @@ def fetch_random_dad_joke() -> str: return urlopen(req).read().decode("utf-8") print(fetch_random_dad_joke()) -``` \ No newline at end of file +``` + +Authored by Jules Huisman diff --git a/main.py b/main.py index e280d62..28a4ad9 100644 --- a/main.py +++ b/main.py @@ -2,7 +2,7 @@ def fetch_random_dad_joke() -> str: """ - This is another docstring, made in master. + Fetch a random dad joke. """ req = Request( url="https://icanhazdadjoke.com/",