[+] create gitea action file
Some checks failed
Build Action for Go / build (push) Failing after 3m18s
Some checks failed
Build Action for Go / build (push) Failing after 3m18s
This commit is contained in:
parent
facfaf0bb0
commit
1a1a17e389
15
.gitea/workflows/build.yaml
Normal file
15
.gitea/workflows/build.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
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.20'
|
||||
- name: Build
|
||||
run:
|
||||
go build -v ./src/ -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