Compare commits
2 Commits
7c8e8eb236
...
dc0040c2d1
| Author | SHA1 | Date | |
|---|---|---|---|
|
dc0040c2d1
|
|||
|
9950282d6e
|
@@ -21,7 +21,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: .changes/${{ github.ref_name }}.md
|
path: .changes/${{ github.ref_name }}.md
|
||||||
- name: Setup go for using go gitea actions
|
- name: Setup go for using go gitea actions
|
||||||
uses: https://github.com/actions/setup-go@v4
|
uses: https://gitea.com/actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: '>=1.20.1'
|
go-version: '>=1.20.1'
|
||||||
- name: Use Go Action to release
|
- name: Use Go Action to release
|
||||||
|
|||||||
18
.gitea/workflows/release/check.yaml
Normal file
18
.gitea/workflows/release/check.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
name: Check go code
|
||||||
|
|
||||||
|
on:
|
||||||
|
push: *
|
||||||
|
pull_request: *
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-and-release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: https://github.com/actions/checkout@v4
|
||||||
|
- name: Install rust toolchain
|
||||||
|
uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||||
|
- name: Build binaries
|
||||||
|
run: cargo build
|
||||||
|
- name: Run tests
|
||||||
|
run: cargo test
|
||||||
Reference in New Issue
Block a user