[+] create gitea action file
Some checks failed
Build Action for Go / build (push) Failing after 1m21s

This commit is contained in:
Seven 2024-12-31 16:32:08 +08:00
parent facfaf0bb0
commit 3db7661639
Signed by: realSunyz
SSH Key Fingerprint: SHA256:5dk3slVnWtJYlwrnURrUYXoimuSx8Vi9pbs4n3XoGH0
2 changed files with 19 additions and 3 deletions

View File

@ -0,0 +1,16 @@
name: Build Action for Go
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
- name: Build
run:
cd ./src
go build -o geofeed-tools

View File

@ -14,18 +14,18 @@ This utility is used to validate the format of geofeed files.
git clone https://github.com/realSunyz/geofeed-validator.git
# Navigate to the directory
cd geofeed-validator/src
cd geofeed-tools/src
# Synchronize and clean up dependencies
go mod tidy
# Build the executable file
go build -o geofeed-validator
go build -o geofeed-tools
```
### Run
```bash
./geofeed-validator <path_to_geofeed.csv>
./geofeed-tools <path_to_geofeed.csv>
```
## Contributing