Created gitea actions
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
name: 'Test Go Action'
|
||||
on: [push]
|
||||
jobs:
|
||||
use-go-action:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: '1.20'
|
||||
|
||||
- name: Use Go Action
|
||||
id: "test"
|
||||
run: "go test ./..."
|
||||
|
||||
- name: Print Output
|
||||
run: echo 'output time is ${{ steps.test.outputs.time }}'
|
||||
Reference in New Issue
Block a user