Skip to content

misc: update to Go 1.21, update deps (#180) #301

misc: update to Go 1.21, update deps (#180)

misc: update to Go 1.21, update deps (#180) #301

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@v4
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