Skip to content

fix(deps): update all non-major dependencies #94

fix(deps): update all non-major dependencies

fix(deps): update all non-major dependencies #94

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-and-test:
name: Lint & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version-file: go.mod
cache: true
- name: Lint (linux)
uses: golangci/golangci-lint-action@v9
with:
version: v2.12.2
- name: Lint (darwin)
uses: golangci/golangci-lint-action@v9
with:
version: v2.12.2
env:
GOOS: darwin
- name: Unit tests
run: go test -race ./internal/...
e2e:
name: E2E Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version-file: go.mod
cache: true
- name: Build devbox
run: go build -o devbox ./cmd/devbox/
- name: Add devbox to PATH
run: echo "${{ github.workspace }}" >> $GITHUB_PATH
- name: Configure git
run: |
git config --global user.email "ci@test.test"
git config --global user.name "CI"
git config --global init.defaultBranch master
- name: Run e2e tests
run: go test -v ./tests/e2e/ -timeout 10m