Skip to content

Commit

Permalink
action
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedvaziry committed Apr 2, 2024
1 parent af48c28 commit 715bd1c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build

on:
push:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.21"]
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
check-latest: true
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./cmd/agent.go

0 comments on commit 715bd1c

Please sign in to comment.