Skip to content

About

Introduction to github actions

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

Repository files navigation

github-action-demo

A tiny Go demo with 3 simple methods and unit tests.

Methods

  • Add(a, b int) int
  • Multiply(a, b int) int
  • IsEven(n int) bool

Install Go (if needed)

Go is already installed on this machine (go1.25.4).

For a fresh Windows machine, you can install with:

winget install -e --id GoLang.Go

Then verify:

go version

Run tests

From the project folder:

go test ./...

To run tests with verbose output:

go test -v ./...

About

Introduction to github actions

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages