Skip to content

Build a binary using Golang on Github Actions #1

Build a binary using Golang on Github Actions

Build a binary using Golang on Github Actions #1

Workflow file for this run

name: Build Binary
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.22.5' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
# You can test your matrix by printing the current Go version
- name: Display Go version
run: go version