Skip to content

Commit

Permalink
update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
agungdwiprasetyo committed Apr 30, 2024
1 parent ceabce1 commit 1c65521
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,8 @@ jobs:
- name: Unit Test
run: |
make test
bash <(curl -s https://codecov.io/bash)
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
10 changes: 6 additions & 4 deletions .github/workflows/deploy-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ jobs:
go-version: 1.21

- name: Setup GCP
uses: google-github-actions/setup-gcloud@v0
id: 'auth'
uses: 'google-github-actions/auth@v1'
with:
service_account_key: ${{ secrets.GCS_SA_KEY }}
project_id: ${{ secrets.GCS_PROJECT }}
export_default_credentials: true
credentials_json: '${{ secrets.GCS_SA_KEY }}'

- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v1'

- name: Build binaries
run: |
Expand Down

0 comments on commit 1c65521

Please sign in to comment.