From e7a63d18f9328e304d99215fd2f260ad1c614e7d Mon Sep 17 00:00:00 2001 From: Simone Bembi Date: Sat, 1 Apr 2023 13:06:32 +0200 Subject: [PATCH] chore: updated go and node version on CI --- .github/workflows/go.yml | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f86208b..ec85d09 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,29 +2,28 @@ name: Tests on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: - build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.15 - - name: Use Node.js 14.x - uses: actions/setup-node@v2 - with: - node-version: 14.x - - run: yarn - - name: Install statik - run: go get github.com/rakyll/statik - - name: Build - run: yarn build:prod - - name: Test - run: yarn test:prod + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.18 + - name: Use Node.js 14.x + uses: actions/setup-node@v2 + with: + node-version: 16.x + - run: yarn + - name: Install statik + run: go get github.com/rakyll/statik + - name: Build + run: yarn build:prod + - name: Test + run: yarn test:prod