Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
hwbrzzl committed Jun 26, 2024
1 parent a311c04 commit 2316acc
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,33 +37,3 @@ jobs:
run: go run . artisan migrate
- name: Run tests
run: go test -timeout 1h ./...
windows:
strategy:
matrix:
go: [ "1.21", "1.22" ]
runs-on: windows-latest
steps:
- name: Set up PostgreSQL
uses: harmon758/postgresql-action@v1
with:
postgresql version: '11'
postgresql db: 'goravel'
postgresql user: 'goravel'
postgresql password: 'goravel'
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Go mod cache
uses: actions/cache@v4
with:
path: |
~\AppData\Local\go-build
~\go\pkg\mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install dependencies
run: go mod tidy
- name: Run tests
run: go test -timeout 1h ./...

0 comments on commit 2316acc

Please sign in to comment.