Skip to content

ci: update gh actions to use nodejs >= 20 #46

ci: update gh actions to use nodejs >= 20

ci: update gh actions to use nodejs >= 20 #46

Workflow file for this run

name: Build and test pushes and PRs
on: [push, pull_request]
jobs:
build:
name: Run test suite
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: ^1.22
- name: Check out source code
uses: actions/checkout@v4
- name: Build application
env:
GOPROXY: "https://proxy.golang.org"
run: go build ./cmd/backmeup
- name: Run tests
env:
GOPROXY: "https://proxy.golang.org"
run: go test -v ./cmd/backmeup