diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..44f6ff6 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -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 \ No newline at end of file diff --git a/README.md b/README.md index 200ea3e..d45c180 100644 --- a/README.md +++ b/README.md @@ -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 +./geofeed-tools ``` ## Contributing