From f16548f38871c7273d3b123f9989c8ded967b101 Mon Sep 17 00:00:00 2001 From: Daniel Nephin Date: Sat, 23 Mar 2024 17:58:34 -0400 Subject: [PATCH] ci: windows git config --- .circleci/config.yml | 15 --------------- .github/workflows/ci.yaml | 6 ++++++ 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5cbc2d1..55c5f77 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -41,7 +41,6 @@ workflows: - lint - build - - run - update-windows-golden: filters: @@ -109,20 +108,6 @@ jobs: path: ./dist destination: dist - run: - executor: - name: go/golang - tag: 1.20-alpine - steps: - - go/install: {package: git} - - go/install-ssh - - checkout - - go/mod-download - - run: | - mkdir -p dist - go build -o dist/gotestsum . - - run: dist/gotestsum - lint: executor: name: go/golang diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f539124..ce2cc7e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,11 +7,17 @@ on: jobs: Build: strategy: + fail-fast: false matrix: go-version: [stable, oldstable] platform: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.platform }} steps: + - name: Setup git + # required to run tests on windows + run: | + git config --global core.autocrlf false + git config --global core.symlinks true - name: Fetch Repository uses: actions/checkout@v4 - name: Install Go