Skip to content

fix publish website workflows YAML (#183) #314

fix publish website workflows YAML (#183)

fix publish website workflows YAML (#183) #314

Workflow file for this run

name: build
on:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: build --snapshot --rm-dist
- name: Install test dependencies
shell: bash
run: |
sudo apt-get install -y graphviz tree
curl https://rclone.org/install.sh | sudo bash
- name: Build and run all tests
shell: bash
run: |
make integration-test
golangci:
name: lint
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest