Skip to content

bhaskaramVaranasi is testing out GitHub Actions πŸš€ #2

bhaskaramVaranasi is testing out GitHub Actions πŸš€

bhaskaramVaranasi is testing out GitHub Actions πŸš€ #2

name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions πŸš€
on: [push]
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "πŸŽ‰ The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- 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
- 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 }}."