Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.37 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.37 KB

automated-tagging-and-releasing

Build Create Release

This repository serves to showcase how to automate the creation of tags and releases using GitHub Actions

Usage

To run, test and build this code from a docker container, run the following command from the root of this repository:

docker run -it --rm -v $(pwd)/src:/app -w /app golang:1.23 bash

Alternatively you can install Go on your local machine, following the official guides:

Once you have an environment with Go up and running, play around with the following commands from the src directory:

# Run the main trigger
go run main.go

# Run the test(s)
go test ./hello (specific folder)
go test ./... (all folders)

# Build the application
go build .

# Run the build/executeable
./app

Resources