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 f16548f
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,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
Expand Down

0 comments on commit f16548f

Please sign in to comment.