Skip to content

Trigger the workflows when changing the yml config files #2

Trigger the workflows when changing the yml config files

Trigger the workflows when changing the yml config files #2

Workflow file for this run

name: Backup tool (Go) CI
on:
push:
branches: [ "master" ]
paths:
- backup-tool/**
- .github/workflows/**
pull_request:
branches: [ "master" ]
paths:
- backup-tool/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20.x
- run: cd backup-tool
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...