Skip to content

Commit

Permalink
Add Go-version-independent names for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Feb 9, 2024
1 parent 32294da commit da0b16d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
name: Lint (latest)
steps:
- uses: actions/checkout@v4

Expand All @@ -31,6 +32,7 @@ jobs:
fail-fast: false
matrix:
go-version: ["1.21", "1.22"]
name: Build ${{ matrix.go-version == '1.22' && '(latest)' || '(old)' }}

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit da0b16d

Please sign in to comment.