mirror of
https://github.com/lus/pasty.git
synced 2023-08-10 21:13:09 +03:00
25 lines
468 B
YAML
25 lines
468 B
YAML
name: general
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
paths-ignore:
|
|
- '**.md'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: checkout code
|
|
uses: actions/checkout@v2
|
|
- name: setup go environment
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: ^1.16
|
|
- name: download dependencies
|
|
run: |
|
|
go version
|
|
go mod download
|
|
- name: build
|
|
run: |
|
|
go build ./cmd/pasty/ |