Skip to content

Only overwrite files that are modified #7

Only overwrite files that are modified

Only overwrite files that are modified #7

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: setup go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
with:
go-version-file: ./go.mod
- name: setup task
uses: arduino/setup-task@e26d8975574116b0097a1161e0fe16ba75d84c1c # v1
- name: build
run: |-
task build
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: setup go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
with:
go-version-file: ./go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: setup go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
with:
go-version-file: ./go.mod
- name: setup task
uses: arduino/setup-task@e26d8975574116b0097a1161e0fe16ba75d84c1c # v1
- name: test
run: |-
task test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}