Skip to content

Commit

Permalink
Update github-actions-demo.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Varanasi Venkata Bhaskaram <venkatabhaskaram@gmail.com>
  • Loading branch information
bhaskaramVaranasi authored Jun 7, 2024
1 parent 98a9fbf commit ccd12ba
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@ jobs:
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- name: Setup Go 1.15.x
uses: actions/setup-go@v5
with:
# Semantic version range syntax or exact version of Go
go-version: '1.15.x'
- run: go build -v -race ./...
- run: diff -u <(echo -n) <(gofmt -d .) || true
- run: go vet ./...
- run: go test -v -race ./...
- run: echo "🍏 This job's status is ${{ job.status }}."

0 comments on commit ccd12ba

Please sign in to comment.