mirror of https://code.forgejo.org/forgejo/act
102 lines
1.9 KiB
YAML
102 lines
1.9 KiB
YAML
name: test
|
|
jobs:
|
|
job1:
|
|
name: On ubuntu-20.04 with go v1.17
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ matrix.version }}
|
|
- run: uname -a && go version
|
|
strategy:
|
|
matrix:
|
|
os:
|
|
- ubuntu-20.04
|
|
version:
|
|
- 1.17
|
|
---
|
|
name: test
|
|
jobs:
|
|
job1:
|
|
name: On ubuntu-20.04 with go v1.18
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ matrix.version }}
|
|
- run: uname -a && go version
|
|
strategy:
|
|
matrix:
|
|
os:
|
|
- ubuntu-20.04
|
|
version:
|
|
- 1.18
|
|
---
|
|
name: test
|
|
jobs:
|
|
job1:
|
|
name: On ubuntu-20.04 with go v1.19
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ matrix.version }}
|
|
- run: uname -a && go version
|
|
strategy:
|
|
matrix:
|
|
os:
|
|
- ubuntu-20.04
|
|
version:
|
|
- 1.19
|
|
---
|
|
name: test
|
|
jobs:
|
|
job1:
|
|
name: On ubuntu-22.04 with go v1.17
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ matrix.version }}
|
|
- run: uname -a && go version
|
|
strategy:
|
|
matrix:
|
|
os:
|
|
- ubuntu-22.04
|
|
version:
|
|
- 1.17
|
|
---
|
|
name: test
|
|
jobs:
|
|
job1:
|
|
name: On ubuntu-22.04 with go v1.18
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ matrix.version }}
|
|
- run: uname -a && go version
|
|
strategy:
|
|
matrix:
|
|
os:
|
|
- ubuntu-22.04
|
|
version:
|
|
- 1.18
|
|
---
|
|
name: test
|
|
jobs:
|
|
job1:
|
|
name: On ubuntu-22.04 with go v1.19
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ matrix.version }}
|
|
- run: uname -a && go version
|
|
strategy:
|
|
matrix:
|
|
os:
|
|
- ubuntu-22.04
|
|
version:
|
|
- 1.19
|