mirror of
https://github.com/cmur2/miflorad.git
synced 2024-12-22 02:54:24 +01:00
ci: update go versions and github actions
This commit is contained in:
parent
898dcfed50
commit
1a0a661fab
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
@ -7,26 +7,23 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go:
|
go:
|
||||||
- '1.11'
|
|
||||||
- '1.12'
|
|
||||||
- '1.13'
|
- '1.13'
|
||||||
runs-on: ubuntu-latest
|
- '1.14'
|
||||||
steps:
|
- '1.15'
|
||||||
- uses: actions/checkout@v1
|
|
||||||
- name: Set up Go ${{ matrix.go }}
|
|
||||||
uses: actions/setup-go@v1
|
|
||||||
with:
|
|
||||||
go-version: ${{ matrix.go }}
|
|
||||||
- name: Set up Make
|
|
||||||
run: |
|
|
||||||
sudo apt-get -y install make
|
|
||||||
- name: Build
|
|
||||||
env:
|
env:
|
||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
GOPROXY: direct
|
GOPROXY: direct
|
||||||
GOSUMDB: off
|
GOSUMDB: off
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up Go ${{ matrix.go }}
|
||||||
|
uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
go-version: ${{ matrix.go }}
|
||||||
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
make
|
make
|
||||||
|
Loading…
Reference in New Issue
Block a user