From 2e9aa9304f5ae337c357c9f33c9f1a0ac5f65fcc Mon Sep 17 00:00:00 2001 From: Yuri Shkuro Date: Fri, 27 Nov 2020 12:52:43 -0500 Subject: [PATCH] Clean-up GH action names Signed-off-by: Yuri Shkuro --- .github/workflows/codeql.yml | 6 +++--- .github/workflows/fossa.yml | 22 ++++++++++------------ 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 04f02cce35e..0e268ca5ef2 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,4 +1,4 @@ -name: "Code Scanning - Action" +name: "CodeQL" on: push: @@ -9,8 +9,8 @@ on: - cron: '31 6 * * 1' jobs: - analyze: - name: Analyze + codeql-analyze: + name: CodeQL Analyze runs-on: ubuntu-latest strategy: diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml index 45e647432a8..87890311a23 100644 --- a/.github/workflows/fossa.yml +++ b/.github/workflows/fossa.yml @@ -6,25 +6,23 @@ on: branches: [master] jobs: - build: + fossa-license-scan: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - - name: Use Go ^1.14.x - uses: actions/setup-go@v2 + - uses: actions/setup-go@v2 with: go-version: ^1.14.x - - name: Add GOPATH to GITHUB_ENV - run: echo "GOPATH=$(go env GOPATH)" >>"$GITHUB_ENV" - - - name: Add GOPATH to GITHUB_PATH - run: echo "$GOPATH/bin" >>"$GITHUB_PATH" - - - name: Run FOSSA scan and upload build data + - name: Add GOPATH + run: | + echo "GOPATH=$(go env GOPATH)" + echo "GOPATH=$(go env GOPATH)" >>"$GITHUB_ENV" + echo "$GOPATH/bin" >>"$GITHUB_PATH" + + - name: Run FOSSA scan and upload report uses: fossa-contrib/fossa-action@v1 with: # FOSSA Push-Only API Token