Minimal set of working Gitea workflows. #138
@ -11,7 +11,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.21
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- run: |
|
- run: |
|
||||||
make build
|
make build
|
||||||
|
@ -11,7 +11,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.21
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- name: Test contract
|
- name: Test contract
|
||||||
run: |
|
run: |
|
||||||
|
@ -15,14 +15,14 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.21
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- name: release dry run
|
- name: release dry run
|
||||||
run: make release-dry-run
|
run: make release-dry-run
|
||||||
- name: setup release environment
|
- name: setup release environment
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.CICD_PUBLISH_TOKEN }}
|
||||||
run: |-
|
run: |-
|
||||||
echo 'GITHUB_TOKEN=${{secrets.GITHUB_TOKEN}}' > .release-env
|
echo 'GITHUB_TOKEN=${{secrets.CICD_PUBLISH_TOKEN}}' > .release-env
|
||||||
- name: release publish
|
- name: release publish
|
||||||
run: make release
|
run: make release
|
||||||
|
@ -16,7 +16,7 @@ jobs:
|
|||||||
# Required: setup-go, for all versions v3.0.0+ of golangci-lint
|
# Required: setup-go, for all versions v3.0.0+ of golangci-lint
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.21
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: golangci/golangci-lint-action@v3.3.1
|
- uses: golangci/golangci-lint-action@v3.3.1
|
||||||
|
@ -7,12 +7,12 @@ on:
|
|||||||
- release/**
|
- release/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-unit-cover:
|
test-unit:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.21
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Test
|
- name: Test
|
||||||
@ -25,7 +25,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.21
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: test-importer
|
- name: test-importer
|
||||||
@ -38,7 +38,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.21
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Test rpc endpoint
|
- name: Test rpc endpoint
|
||||||
|
Loading…
Reference in New Issue
Block a user