Skip to content

Merge branch 'master' of github.com:thnxdev/utils #20

Merge branch 'master' of github.com:thnxdev/utils

Merge branch 'master' of github.com:thnxdev/utils #20

Workflow file for this run

on:
push:
branches:
- master
pull_request:
name: CI
jobs:
cache:
name: Populate cache
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Init Hermit
run: ./bin/hermit env -r >> $GITHUB_ENV
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Init Hermit
run: ./bin/hermit env -r >> $GITHUB_ENV
- name: Test
run: go test -p 1 ./...
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Init Hermit
run: ./bin/hermit env -r >> $GITHUB_ENV
- name: golangci-lint
run: golangci-lint run --timeout=10m