From ca2ca3d917b50c898f566c3b25d987b4829a4491 Mon Sep 17 00:00:00 2001 From: Murtaza Aliakbar Date: Mon, 20 May 2024 01:39:21 +0530 Subject: [PATCH] gh-actions: m rename steps --- .github/workflows/codeql.yml | 14 +++++++------- .github/workflows/go.yml | 8 ++++---- .github/workflows/scorecard.yml | 10 +++++----- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index fe7faddc..3e71c62f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,4 +1,4 @@ -name: "CodeQL" +name: CodeQL on: push: @@ -10,7 +10,7 @@ on: jobs: analyze: - name: Analyze + name: 📐 Analyze # Runner size impacts CodeQL analysis time. To learn more, please see: # - https://gh.io/recommended-hardware-resources-for-running-codeql # - https://gh.io/supported-runners-and-hardware-resources @@ -35,17 +35,17 @@ jobs: # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support steps: - - name: Checkout repository + - name: 🥏 Checkout uses: actions/checkout@v4 # must happen before codeql init - - name: Setup go1.22+ + - name: 🐼 Setup go1.22+ uses: actions/setup-go@v4 with: go-version: '>=1.22' # Initializes the CodeQL tools for scanning. - - name: Initialize + - name: 🛠️ Initialize uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} @@ -68,12 +68,12 @@ jobs: # If the Autobuild fails above, remove it and uncomment the following three lines. # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. - - name: Build + - name: 🚀 Build run: | ./make-aar nogo shell: bash - - name: Perform CodeQL Analysis + - name: 🧩 Perform CodeQL uses: github/codeql-action/analyze@v3 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c2a90f37..43379376 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,14 +10,14 @@ on: jobs: build: - name: Build 🧬 + name: 🧬 Build runs-on: ubuntu-latest steps: - - name: Checkout code 🥏 - uses: actions/checkout@v3 + - name: 🥏 Checkout code + uses: actions/checkout@v4 - - name: Setup go1.22+ + - name: 🐼 Setup go1.22+ uses: actions/setup-go@v4 with: go-version: '>=1.22' diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index ec0ecc8c..78ed62bc 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -19,7 +19,7 @@ permissions: read-all jobs: analysis: - name: Scorecard analysis + name: 🎲 Scorecard analysis runs-on: ubuntu-latest permissions: # Needed to upload the results to code-scanning dashboard. @@ -31,12 +31,12 @@ jobs: # actions: read steps: - - name: "Checkout code" + - name: 🥏 Checkout uses: actions/checkout@v4 with: persist-credentials: false - - name: "Run analysis" + - name: 🐎 Run analysis uses: ossf/scorecard-action@v2.3.1 with: results_file: results.sarif @@ -58,7 +58,7 @@ jobs: # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - - name: "Upload artifact" + - name: 🏌️‍♂️ Upload artifact uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0 with: name: SARIF file @@ -66,7 +66,7 @@ jobs: retention-days: 21 # Upload the results to GitHub's code scanning dashboard. - - name: "Upload to code-scanning" + - name: ⛳️ Upload to code-scanning uses: github/codeql-action/upload-sarif@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 # v2.2.4 with: sarif_file: results.sarif