ci: update github actions

This commit is contained in:
Reinaldy Rafli 2021-11-08 22:40:17 +07:00
parent 05120c23ab
commit 955313b45e
No known key found for this signature in database
GPG Key ID: CFDB9400255D8CB6
2 changed files with 14 additions and 16 deletions

View File

@ -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

View File

@ -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