From 55e7a9aa89021e81aa044206a6c7ee36d7e17a85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Behrendt?= Date: Wed, 2 Oct 2024 14:58:46 +0200 Subject: [PATCH] chore: disable golang proxy for phrase-go (#698) --- .github/workflows/build.yml | 6 ++++-- .github/workflows/lint.yml | 4 ++-- .github/workflows/test-cli.yml | 4 +++- .github/workflows/test-go.yml | 2 +- .tool-versions | 2 +- 5 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3312c351..39e7ad55 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,11 +15,12 @@ jobs: name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.19.6 + go-version: 1.21.9 - name: Build and Deploy 🚀 env: API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GOPRIVATE: github.com/phrase/phrase-go run: | npm install npm run generate.go @@ -50,11 +51,12 @@ jobs: name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.19.6 + go-version: 1.21.9 - name: Build and Deploy 🚀 env: API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GOPRIVATE: github.com/phrase/phrase-go run: | npm install npm run generate.cli diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7d5433a3..0359e81a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -33,7 +33,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.19.6 + go-version: 1.21.9 - name: Build env: API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} @@ -53,7 +53,7 @@ jobs: # - name: Set up Go # uses: actions/setup-go@v2 # with: - # go-version: 1.19.6 + # go-version: 1.21.9 # - name: Build # env: # API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} diff --git a/.github/workflows/test-cli.yml b/.github/workflows/test-cli.yml index eeb2955f..2445878b 100644 --- a/.github/workflows/test-cli.yml +++ b/.github/workflows/test-cli.yml @@ -15,8 +15,10 @@ jobs: - name: Setup Go uses: actions/setup-go@v2 with: - go-version: '1.19.6' + go-version: '1.21.9' - name: Generate CLI + env: + GOPRIVATE: github.com/phrase/phrase-go run: | npm install npm run generate.cli diff --git a/.github/workflows/test-go.yml b/.github/workflows/test-go.yml index 0bb67181..15ad9c9d 100644 --- a/.github/workflows/test-go.yml +++ b/.github/workflows/test-go.yml @@ -9,7 +9,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v2 with: - go-version: '1.19.6' + go-version: '1.21.9' - name: Run Tests run: | npm install diff --git a/.tool-versions b/.tool-versions index 9b4b9f9b..f0816ac4 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,3 +1,3 @@ -golang 1.19.1 +golang 1.21.9 nodejs 20.11.0 maven 3.9.1