Skip to content

Commit

Permalink
fix: checkout repo first
Browse files Browse the repository at this point in the history
  • Loading branch information
YC committed Dec 15, 2023
1 parent 87a1ac4 commit b02e01a
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,15 @@ jobs:
permissions:
contents: read
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ^1.21
cache-dependency-path: |
go.sum
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Get dependencies
run: go get

Expand All @@ -44,15 +42,13 @@ jobs:
db: [sqlite, postgres, mysql, mariadb]

steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ^1.21
cache-dependency-path: |
go.sum
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v4

- run: ./testing/run_api_tests.sh ${{ matrix.db }} --migration

0 comments on commit b02e01a

Please sign in to comment.