chore(deps): bump github.com/getsops/sops/v3 from 3.9.1 to 3.9.2 #477
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: Run Tests and Build | |
on: | |
push: {} | |
pull_request: {} | |
env: | |
CI: true | |
GO111MODULE: on | |
GOPROXY: https://proxy.golang.org | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
go: [1.21] | |
name: ${{ matrix.os }} @ Go ${{ matrix.go }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Set up Go ${{ matrix.go }} | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Set GOPATH and PATH | |
run: | | |
echo "GOPATH=$(dirname $GITHUB_WORKSPACE)" >> $GITHUB_ENV | |
echo "$(dirname $GITHUB_WORKSPACE)/bin" >> $GITHUB_PATH | |
shell: bash | |
- name: Install dependencies | |
run: | | |
make download-dependencies | |
- name: Lint | |
run: | | |
make lint | |
- name: Run gofmt | |
run: | | |
diff -u <(echo -n) <(gofmt -d -e .) | |
- name: Run go vet | |
run: | | |
make go-vet | |
- name: Build plugin | |
run: | | |
make build | |
- name: Test | |
run: | | |
# Github now comes with kustomize already installed | |
sudo rm $(command -v kustomize) || true | |
make kustomize | |
XDG_CONFIG_HOME=$HOME/.config make test |