Skip to content

Commit

Permalink
chore(ci): update to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
crispgm committed Sep 12, 2024
1 parent c6bb874 commit f11c123
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,31 @@
name: build
on: [push, pull_request]
on:
push:
branches:
- main
pull_request:
jobs:
checks:
name: run
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@v3

- name: run
uses: actions/setup-go@v2
- name: cache
uses: actions/cache@v3
with:
go-version: "1.13"
env:
GO111MODULE: "on"
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: setup
uses: actions/setup-go@v3
with:
go-version: "1.18"

- name: lint
uses: morphy2k/revive-action@v2
Expand Down

0 comments on commit f11c123

Please sign in to comment.