Skip to content

Commit

Permalink
Merge pull request #66 from timabell/ci-checkout-sooner
Browse files Browse the repository at this point in the history
ci: Checkout before golang setup
  • Loading branch information
timabell authored Jan 30, 2024
2 parents e1ac76b + 043d385 commit f5889b1
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ jobs:
# options: --health-cmd="SELECT 1;" --health-interval=10s --health-timeout=5s --health-retries=10

steps:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}

- name: Add mssql source
run: |
curl https://packages.microsoft.com/config/ubuntu/22.04/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list
Expand All @@ -56,9 +51,15 @@ jobs:
- name: Apt packages
run: sudo apt-get install sqlite3 postgresql-client gcc-mingw-w64-x86-64 mysql-client mssql-tools18 unixodbc-dev

- uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}

- name: install go-junit-report
run: go install github.com/jstemmer/go-junit-report/v2@latest
- uses: actions/checkout@v4

- name: Install dependencies
run: go get .
Expand Down

0 comments on commit f5889b1

Please sign in to comment.