Skip to content

Commit

Permalink
added checkout subaction.
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyStiles committed Aug 18, 2023
1 parent 80834c8 commit a086628
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/devtest.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
name: 'build and test'
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: Pre-build image and run make ci-build in dev container

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

- name: Build and run dev container task
uses: devcontainers/ci@v0.3
with:
imageName: ghcr.io/bebop/ark-devcontainer
cacheFrom: ghcr.io/bebop/ark-devcontainer
push: always
# Change this to be your CI task/script
runCmd: go test -v ./...

0 comments on commit a086628

Please sign in to comment.