Skip to content

Commit

Permalink
Update devcontainer configuration for GitHub Actions integration
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisreddington committed Nov 8, 2024
1 parent e4b3327 commit 792e309
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/go
{
"name": "Go",
"name": "GitHub Actions",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/universal:linux",
"features": {
Expand All @@ -24,9 +24,9 @@
}
},
"tasks": {
"build": "go build .",
"test": "go test ./...",
"run": "go run ."
"build": "echo 'TODO: Add local linters'",
"test": "act -n -W ./github/workflows/validate-self.yml -s GITHUB_TOKEN=$GITHUB_TOKEN",
"run": "act -n -W ./github/workflows/validate-self.yml -s GITHUB_TOKEN=$GITHUB_TOKEN"
}

// Features to add to the dev container. More info: https://containers.dev/features.
Expand Down

0 comments on commit 792e309

Please sign in to comment.