Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI (Tests)
run-name: ${{ github.workflow }} - ${{ github.ref }} - by ${{ github.actor }}

# events that trigger this workflow
on:
pull_request:
branches: [ "main" ]
paths-ignore:
- '**.md'
- 'build/**'
- 'assets/**'
push:
branches: [ "main" ]
paths-ignore:
- '**.md'
- 'build/**'
- 'assets/**'
workflow_dispatch:

jobs:

build:
name: Build App
runs-on: ubuntu-latest
permissions:
contents: read # access to check out code and install dependencies

steps:
- uses: actions/checkout@v6

- uses: actions/setup-go@v6
with:
go-version: '1.24'

- run: go run main.go --help
- run: go build
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ curl -sL https://raw.githubusercontent.com/hellotimking/clog/main/install.sh | b
> (I mean, it is... but it's good to read through what it's going to do)

### Building From Source
**Requires Go 1.21 or higher.**
**Requires Go 1.24 or higher.**

#### Clone the repository
```bash
Expand Down