From ddf36304c152a24599523e78a438226d9e5b5de0 Mon Sep 17 00:00:00 2001 From: Paulo Vitor Magacho Date: Wed, 3 Apr 2024 13:57:25 -0300 Subject: [PATCH] Fixed GO version --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c391bb..2f6b3d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Node.js environment uses: actions/setup-node@v2.1.2 @@ -23,7 +23,7 @@ jobs: run: echo "::set-output name=dir::$(yarn cache dir)" - name: Cache yarn cache - uses: actions/cache@v2 + uses: actions/cache@v4 id: cache-yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -33,7 +33,7 @@ jobs: - name: Cache node_modules id: cache-node-modules - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-${{ matrix.node-version }}-nodemodules-${{ hashFiles('**/yarn.lock') }} @@ -56,20 +56,20 @@ jobs: - name: Setup Go environment if: steps.check-for-backend.outputs.has-backend == 'true' - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - go-version: "1.22" + go-version: "1.20" - name: Test backend if: steps.check-for-backend.outputs.has-backend == 'true' - uses: magefile/mage-action@v1 + uses: magefile/mage-action@v3 with: version: latest args: coverage - name: Build backend if: steps.check-for-backend.outputs.has-backend == 'true' - uses: magefile/mage-action@v1 + uses: magefile/mage-action@v3 with: version: latest args: buildAll