Skip to content

Commit

Permalink
GitHub Actions versions we use to the same one
Browse files Browse the repository at this point in the history
I have matched GitHub Actions versions we use to the same one in linux
and release workflows.
  • Loading branch information
okuryu committed Jul 5, 2020
1 parent 659eb6a commit ba220d6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.14.4', '1.13.12' ]
go: [ '1.14.x', '1.13.x' ]
name: Go ${{ matrix.go }} build
steps:
- uses: actions/checkout@v2
- name: checkout
uses: actions/checkout@v2

- name: Setup go
uses: actions/setup-go@v1
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2

- name: install go
uses: actions/setup-go@v1
uses: actions/setup-go@v2
with:
go-version: 1.14.x

- name: checkout
uses: actions/checkout@v1

- name: get version
id: v
run: echo ::set-output name=tag::$( awk -F '/' '{print $NF}' <<< "${GITHUB_REF}" )
Expand Down

0 comments on commit ba220d6

Please sign in to comment.