Skip to content

Commit

Permalink
removed old test workflow and renamed new dev container based test wo…
Browse files Browse the repository at this point in the history
…rkflow to test.yml.
  • Loading branch information
TimothyStiles committed Sep 9, 2023
1 parent 746481b commit 3cbdd46
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 38 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/devtest.yml

This file was deleted.

28 changes: 14 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
name: 'build and test within dev container'
on:
push:
tags:
- v*
branches:
- main
pull_request:
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.18.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
build:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2

- name: Checkout (GitHub)
uses: actions/checkout@v3

- name: Build and run dev container task
uses: devcontainers/[email protected]
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: go test -v ./...
imageName: ghcr.io/bebop/ark-devcontainer
cacheFrom: ghcr.io/bebop/ark-devcontainer
push: never
# Change this to be your CI task/script
runCmd: go test -v ./...

0 comments on commit 3cbdd46

Please sign in to comment.