Skip to content

Commit

Permalink
Add a GitHub Actions build task (#4)
Browse files Browse the repository at this point in the history
Add a GitHub Actions build task
  • Loading branch information
freyacodes authored Feb 9, 2024
1 parent ffec1ab commit fc613d9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Go

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.21.x' ]

steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: |
go build

0 comments on commit fc613d9

Please sign in to comment.