diff --git a/.circleci/config.yml b/.circleci/config.yml index 5cbc2d1..64d306f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,21 +27,8 @@ workflows: name: go/golang tag: 1.20-alpine - - go/test: - name: test-windows - executor: windows - pre-steps: - - run: | - git config --global core.autocrlf false - git config --global core.symlinks true - - run: | - choco upgrade golang - echo 'export PATH="$PATH:/c/Program Files/Go/bin"' > $BASH_ENV - - run: go version - - lint - build - - run - update-windows-golden: filters: @@ -109,20 +96,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