diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 2270f88..455f380 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -28,4 +28,13 @@ jobs: args: controllers/ database/ models/ routes/ - name: Test - run: DB_HOST=${{ secrets.DB_HOST }} DB_PASSWORD=${{ secrets.DB_PASSWORD }} DB_USER=${{ secrets.DB_USER }} DB_NAME=${{ secrets.DB_NAME }} DB_PORT=${{ secrets.DB_PORT }} go test -v main_test.go \ No newline at end of file + run: DB_HOST=${{ secrets.DB_HOST }} DB_PASSWORD=${{ secrets.DB_PASSWORD }} DB_USER=${{ secrets.DB_USER }} DB_NAME=${{ secrets.DB_NAME }} DB_PORT=${{ secrets.DB_PORT }} go test -v main_test.go + + - name: Build + run: go build main.go + + - name: Projeto compilado + uses: actions/upload-artifact@v4 + with: + name: projeto_compilado + path: main \ No newline at end of file