From 39e190b6a41eafee2fc8eb3a7064ffd818b6f1ff Mon Sep 17 00:00:00 2001 From: qvalentin Date: Tue, 14 Jan 2025 18:00:01 +0100 Subject: [PATCH] chore: setup go in ci --- .github/workflows/ci.yaml | 43 +++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e9ca1fe..bf47716 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,23 +1,26 @@ name: Build/test on: - push: - branches: - - "master" - pull_request: + push: + branches: + - 'master' + pull_request: jobs: - test: - runs-on: ${{ matrix.os }} - strategy: - fail-fast: true - matrix: - os: [macos-latest, ubuntu-latest] - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: '3.11' - - uses: actions/setup-node@v3 - with: - node-version: '18' - - run: npm install - - run: npm test + test: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: true + matrix: + os: [macos-latest, ubuntu-latest] + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.11' + - uses: actions/setup-go@v5 + with: + go-version: '1.23' + - uses: actions/setup-node@v3 + with: + node-version: '18' + - run: npm install + - run: npm test