Compare commits
14
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fb2f4255f4 | ||
|
|
55a3694d89 | ||
|
|
40afd176e7 | ||
|
|
9f86b8e95c | ||
|
|
fa3db63ad2 | ||
|
|
0e0422545b | ||
|
|
e4e2bd992b | ||
|
|
20bbbe33ca | ||
|
|
496310c93a | ||
|
|
25615fabc6 | ||
|
|
f30d4a3140 | ||
|
|
793ca05fd4 | ||
|
|
9971ff3266 | ||
|
|
46a5d0ee55 |
@@ -0,0 +1,28 @@
|
||||
name: Tests
|
||||
run-name: tests on ${{ gitea.ref }}
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Go tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Description
|
||||
run: |
|
||||
echo "🧑🔬 $ {{ gitea.actor }} pushed branch ${{ gitea.ref }} ...0️0️1️0️1️0️1️0️ ... beginning tests"
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Update
|
||||
run: |
|
||||
echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||
echo "🖥️ The job is now ready to test your go code on the runner."
|
||||
- name: Setup golang environment
|
||||
uses: actions/setup-go@v7
|
||||
with:
|
||||
go-version: 'stable'
|
||||
check-latest: true
|
||||
token: ${{ gitea.token }}
|
||||
permissions:
|
||||
contents: read
|
||||
- name: Run go tests
|
||||
run: |
|
||||
go test ./...
|
||||
Reference in New Issue
Block a user