From bbf2a8d354eec17340501827075542456c282be6 Mon Sep 17 00:00:00 2001 From: maximo tejeda Date: Sat, 16 Nov 2024 22:25:32 -0400 Subject: [PATCH] FIX sintax --- .github/workflows/test_workflow.yml | 37 +++++++++++++++-------------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/.github/workflows/test_workflow.yml b/.github/workflows/test_workflow.yml index 57663fd..2cea17c 100644 --- a/.github/workflows/test_workflow.yml +++ b/.github/workflows/test_workflow.yml @@ -9,34 +9,35 @@ on: jobs: test: + runs-on: ubuntu-latest env: TOKEN: ${{ secrets.TOKEN }} USERNAME: ${{ vars.USERNAME }} TAG_VERSION: ${{ github.ref_name }} - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 + steps: + - name: Checkout code + uses: actions/checkout@v4 - - name: Setup Go - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' - - name: test with go - run: go test -v ./... + - name: test with go + run: go test -v ./... vulnCheck: + runs-on: ubuntu-latest env: TOKEN: ${{ secrets.TOKEN }} USERNAME: ${{ vars.USERNAME }} TAG_VERSION: ${{ github.ref_name }} - runs-on: ubuntu-latest - steps: - - name: checkout Code - uses: actions/checkout@v4 - - name: go vuln check - uses: golang/govulncheck-action@v1 - with: - go-version-file: 'go.mod' + steps: + - name: checkout Code + uses: actions/checkout@v4 + + - name: go vuln check + uses: golang/govulncheck-action@v1 + with: + go-version-file: 'go.mod'