Skip to content

Commit

Permalink
CI: use actions/checkout@v2 on ubuntu.20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
macno committed Jan 6, 2021
1 parent f162d77 commit 928041e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:

- name: Set up Go 1.15
Expand All @@ -14,7 +14,7 @@ jobs:
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: Build
run: make build
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ on:

jobs:
release:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up Go 1.15
uses: actions/setup-go@v1
with:
go-version: 1.15.x
- name: Checkout
uses: actions/checkout@v2
- name: Fetch tag
run: git fetch -f origin ${{ github.ref }}:${{ github.ref }}
- name: Cross build
run: |
GOOS=linux GOARCH=386 make -e buildx
Expand Down

0 comments on commit 928041e

Please sign in to comment.