[+] create gitea action file
Some checks failed
Build Action for Go / build (push) Failing after 1m21s
Some checks failed
Build Action for Go / build (push) Failing after 1m21s
This commit is contained in:
parent
facfaf0bb0
commit
3db7661639
16
.gitea/workflows/build.yaml
Normal file
16
.gitea/workflows/build.yaml
Normal 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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user