diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d949faf..6ffeec3 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -33,3 +33,8 @@ updates: minor-updates: update-types: - "minor" + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index a11b02d..d731bf4 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v5 - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -31,9 +31,9 @@ jobs: run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: 1.24 + go-version: 1.25 - name: Update version in main.go run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 13dd489..79143df 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,12 +11,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: '1.24' + go-version: 1.25 - name: Build go run: go build diff --git a/.go-version b/.go-version index 3900bcd..5e2b950 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.24 +1.25 diff --git a/README.md b/README.md index dca4c3e..465d5c1 100644 --- a/README.md +++ b/README.md @@ -120,15 +120,14 @@ olm.exe debug olm.exe help ``` +Note running the service requires credentials in `%PROGRAMDATA%\olm\olm-client\config.json`. + ### Service Configuration When running as a service, Olm will read configuration from environment variables or you can modify the service to include command-line arguments: 1. Install the service: `olm.exe install` -2. Configure the service with your credentials using Windows Service Manager or by setting system environment variables: - - `PANGOLIN_ENDPOINT=https://example.com` - - `OLM_ID=your_olm_id` - - `OLM_SECRET=your_secret` +2. Set the credentials in `%PROGRAMDATA%\olm\olm-client\config.json`. Hint: if you run olm once with --id and --secret this file will be populated! 3. Start the service: `olm.exe start` ### Service Logs diff --git a/go.mod b/go.mod index 1db50b3..95a99c4 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/fosrl/olm -go 1.24 +go 1.25 require ( github.com/fosrl/newt v0.0.0-20250730062419-3ccd755d557a