Skip to content

Commit

Permalink
ci: windows git config
Browse files Browse the repository at this point in the history
  • Loading branch information
dnephin committed Mar 23, 2024
1 parent 1912d77 commit 03607a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ workflows:

- lint
- build
- run

- update-windows-golden:
filters:
Expand Down Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
jobs:
Build:
strategy:
fail-fast: false
matrix:
go-version: [stable, oldstable]
platform: [ubuntu-latest, windows-latest, macos-latest]
Expand All @@ -19,4 +20,9 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
- run: go build .
- name: Setup git
# required to run tests on windows
run: |
git config --global core.autocrlf false
git config --global core.symlinks true
- run: ./gotestsum -f testname -- ./... -race -count=1

0 comments on commit 03607a0

Please sign in to comment.