ci: update github actions
This commit is contained in:
parent
05120c23ab
commit
955313b45e
|
@ -54,14 +54,13 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build main.go
|
run: go build main.go
|
||||||
|
|
||||||
# Remove test for now
|
- name: Run test & coverage
|
||||||
# - name: Run test & coverage
|
run: go test -v -coverprofile=coverage.out -covermode=atomic ./...
|
||||||
# run: go test -v -race -coverprofile=coverage.out -covermode=atomic ./...
|
env:
|
||||||
# env:
|
ENV: development
|
||||||
# ENV: development
|
PORT: 5000
|
||||||
# PORT: 5000
|
DATABASE_URL: postgres://postgres:password@postgres:5432/jokesbapak2
|
||||||
# DATABASE_URL: postgres://postgres:password@postgres:5432/jokesbapak2
|
REDIS_URL: redis://@redis:6379
|
||||||
# REDIS_URL: redis://@redis:6379
|
|
||||||
|
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v1
|
uses: github/codeql-action/init@v1
|
||||||
|
|
|
@ -108,14 +108,13 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build main.go
|
run: go build main.go
|
||||||
|
|
||||||
# Remove test for now
|
- name: Run test & coverage
|
||||||
# - name: Run test & coverage
|
run: go test -v -coverprofile=coverage.out -covermode=atomic ./...
|
||||||
# run: go test -v -race -coverprofile=coverage.out -covermode=atomic ./...
|
env:
|
||||||
# env:
|
ENV: development
|
||||||
# ENV: development
|
PORT: 5000
|
||||||
# PORT: 5000
|
DATABASE_URL: postgres://postgres:password@postgres:5432/jokesbapak2
|
||||||
# DATABASE_URL: postgres://postgres:password@postgres:5432/jokesbapak2
|
REDIS_URL: redis://@redis:6379
|
||||||
# REDIS_URL: redis://@redis:6379
|
|
||||||
|
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v1
|
uses: github/codeql-action/init@v1
|
||||||
|
|
Loading…
Reference in New Issue