18 lines
405 B
YAML
18 lines
405 B
YAML
|
on: [push]
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
steps:
|
||
|
- uses: actions/checkout@v4
|
||
|
- uses: actions/setup-go@v5
|
||
|
with:
|
||
|
go-version-file: 'go.mod'
|
||
|
check-latest: true
|
||
|
cache-dependency-path: "**/*.sum"
|
||
|
- run: go build
|
||
|
- uses: actions/upload-artifact@v3
|
||
|
with:
|
||
|
name: fj
|
||
|
path: fj
|