diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f53c51b..78fb752 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -11,9 +11,6 @@ on: permissions: contents: read -env: - GOPRIVATE: github.com/upsun/lib-sun,github.com/upsun/convsun - jobs: lint: @@ -22,12 +19,8 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: '1.22' + go-version: '1.23' check-latest: true - - name: Run config private repo - env: - TOKEN: ${{ secrets.MICK_GITHUB_TOKEN }} - run: git config --global url."https://user:${TOKEN}@github.com".insteadOf https://github.com - name: Run Go Format run: gofmt -s -w . && git diff --exit-code - name: Run Go Tidy @@ -47,10 +40,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 - - name: Run config private repo - env: - TOKEN: ${{ secrets.MICK_GITHUB_TOKEN }} - run: git config --global url."https://user:${TOKEN}@github.com".insteadOf https://github.com - name: Run tests run: go test -v -count=1 -race -shuffle=on -coverprofile=coverage.txt ./... - name: Go Benchmark @@ -82,11 +71,6 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: '1.22' - - name: Run config private repo - env: - TOKEN: ${{ secrets.MICK_GITHUB_TOKEN }} - run: git config --global url."https://user:${TOKEN}@github.com".insteadOf https://github.com - + go-version: '1.23' - name: Build run: GOARCH=${{ matrix.goarch }} GOOS=${{ matrix.goos }} go build -v ./... diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8875a41..807e08f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -24,12 +24,6 @@ jobs: - uses: actions/checkout@v4 - uses: wangyoucao577/go-release-action@v1 with: - pre_command: | - echo "machine github.com login ${{ github.actor }} password ${{ secrets.MICK_GITHUB_TOKEN }}" > ~/.netrc - chmod 600 ~/.netrc - git config --global --add url."https://github.com/".insteadOf "ssh://git@github.com/" - git config --global --add url."https://github.com/".insteadOf "git@github.com" - go env -w GOPRIVATE=github.com/upsun/* github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} diff --git a/README.md b/README.md index d63ee82..ec4dbda 100644 --- a/README.md +++ b/README.md @@ -5,14 +5,14 @@ This CLI-tool uses **Platform.sh** config files *(routes.yaml, services.yaml and > [!CAUTION] > **This project is owned by the Upsun Advocacy team. It is in early stage of development [experimental] and only intended to be used with caution by Upsun customers/community.

This project is not supported by Upsun and does not qualify for Support plans. Use this repository at your own risks, it is provided without guarantee or warranty!** -> Don’t hesitate to join our [Discord](https://discord.com/invite/platformsh) to share your thoughts about this project. +> Don’t hesitate to join our [Discord](https://discord.gg/upsun) to share your thoughts about this project. -> **WARNING : This tool handles classic 'multi-app...' cases but has not been tested for snowflack cases.** +> **WARNING: This tool handles classic 'multi-app...' cases but has not been tested for snowflake cases.** #### Install Download the last binary in [release section](https://github.com/upsun/convsun/releases). -Extract it and enjoy ! +Extract it and enjoy! #### Syntax ``` diff --git a/go.mod b/go.mod index 1797537..9492b92 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/upsun/convsun -go 1.22.6 +go 1.23.5 require ( github.com/spf13/pflag v1.0.5