Skip to content

Commit

Permalink
gh-actions: m rename steps
Browse files Browse the repository at this point in the history
  • Loading branch information
ignoramous committed May 19, 2024
1 parent f70647a commit ca2ca3d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "CodeQL"
name: CodeQL

on:
push:
Expand All @@ -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
Expand All @@ -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 }}
Expand All @@ -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}}"
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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/[email protected]
with:
results_file: results.sarif
Expand All @@ -58,15 +58,15 @@ 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
path: results.sarif
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

0 comments on commit ca2ca3d

Please sign in to comment.