Add role to directory sync user #65
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: {} | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test: | |
name: Test Go ${{ matrix.go }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: | |
- 'stable' | |
- 'oldstable' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Run Tests | |
run: | | |
go mod download | |
go test -v ./... | |
- name: Code style | |
run: | | |
gofmt -d ./ | |
git diff --exit-code |