16 lines
356 B
YAML
16 lines
356 B
YAML
name: 'Test Go Action'
|
|
on: [push]
|
|
jobs:
|
|
use-go-action:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Setup Go
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: '1.20'
|
|
- run: go version
|
|
|
|
- name: Print Output
|
|
run: echo 'output time is ${{ steps.use-go-action.outputs.time }}'
|