You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
themis/.github/workflows/ci.yml

22 lines
550 B

name: GitHub Actions Demo
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19
- uses: actions/checkout@v3
- name: "fmt"
run: test -z $(go fmt ./...)
- name: lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
skip-go-intallation: true
skip-pkg-cache: true
skip-build-cache: true
args: --timeout 2m
- name: test
run: go test ./...