Skip to content

Commit

Permalink
Replace matrix strategy with environment variable (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
jongwooo authored Aug 19, 2023
1 parent cf74a80 commit af87a58
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,19 @@ on:
pull_request:
branches: [ main ]

env:
GO_VERSION: '1.19.2'

jobs:
build:
name: build
strategy:
matrix:
go_version:
- 1.19.2
runs-on: ubuntu-latest
steps:

- name: Set up Go ${{ matrix.go_version }}
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go_version }}
go-version: ${{ env.GO_VERSION }}

- name: Setup buf action
uses: bufbuild/buf-setup-action@v1
Expand Down

0 comments on commit af87a58

Please sign in to comment.