jsleak/.github/workflows/build.yml

30 lines
490 B
YAML
Raw Permalink Normal View History

2023-05-05 15:43:31 +00:00
name: 🔨 Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
name: Build
2023-05-05 16:31:22 +00:00
runs-on: ubuntu-latest
2023-05-05 15:43:31 +00:00
steps:
- uses: actions/checkout@v3
2023-05-05 16:33:38 +00:00
- uses: actions/setup-go@v4
2023-05-05 15:43:31 +00:00
with:
2023-05-05 16:36:00 +00:00
go-version: 1.19
2023-05-05 15:43:31 +00:00
- name: Test
run: go test ./...
- name: Build
run: go build .
- uses: actions/upload-artifact@master
with:
name: jsleak
2023-05-05 15:43:31 +00:00
path: jsleak