Skip to content

Commit

Permalink
added artifacts upload/download
Browse files Browse the repository at this point in the history
  • Loading branch information
zephinzer committed Aug 10, 2023
1 parent 8fe0b07 commit 2ca95e0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,28 @@ jobs:
go-version: '>=1.20.0'
- name: Install custom dependencies
run: make install-swaggo
- name: Upload dependencies
uses: actions/upload-artifact@v3
with:
name: dependencies
path: ./vendor
tests:
runs-on: ubuntu-latest
steps:
- name: Download dependencies
uses: actions/download-artifact@v3
with:
name: dependencies
- name: Run tests
run: make test
needs: [setup]
builds:
runs-on: ubuntu-latest
steps:
- name: Download dependencies
uses: actions/download-artifact@v3
with:
name: dependencies
- name: Generate Swagger documentation
run: |
go env GOBIN;
Expand Down

0 comments on commit 2ca95e0

Please sign in to comment.