From d7f6b4cfbe427d1cfe6715ffc4f53a267aa83108 Mon Sep 17 00:00:00 2001 From: bthreader Date: Mon, 30 Oct 2023 22:07:37 +0000 Subject: [PATCH] add checkout step, add build badge to readme --- .github/workflows/main.yml | 3 +++ README.md | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f4efcd0..786faa3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,6 +10,9 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Set up Java uses: actions/setup-java@v3 with: diff --git a/README.md b/README.md index d40996e..88f7cfc 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # Service Course +[![Build and Test](https://github.com/bthreader/service-course/actions/workflows/main.yml/badge.svg)](https://github.com/bthreader/service-course/actions/workflows/main.yml) + A bike rental service completed as a learning project.