An open API service indexing awesome lists of open source software.

https://github.com/ilyes512/golang

A Golang (VSCode) Development environment.
https://github.com/ilyes512/golang

Last synced: 3 months ago
JSON representation

A Golang (VSCode) Development environment.

Awesome Lists containing this project

README

        

# Golang

A Golang (VSCode) Development environment.

## Pulling the images

```
docker pull ghcr.io/ilyes512/golang:latest
```

## Task commands

This project uses [Task](https://taskfile.dev) (an task runner / build tool). If you want to run the
`task act:*`-commands you will need to install [Act](https://github.com/nektos/act) as well.

Available tasks for this project:

```
* act:master: Run Act with push event on master branch
* act:pr: Run Act with pull_request event
* act:tag: Run Act with tag (push) event
* build: Build the vscode-golang image
* lint: Apply a Dockerfile linter (https://github.com/hadolint/hadolint)
* scripts:check-versions: Check Task version
* shell: Interactive shell
```

### Act tasks

[Act](https://github.com/nektos/act) is a tool to run Github Actions locally. Before you can run Act and the
`act:*`-tasks you need to add an `GITHUB_TOKEN`-secret. You can do this by adding the following
Act config file to you users `$HOME`-directory:

File path: `~/.actrc`
```
-s GITHUB_TOKEN=
```

Replace `` with a Github personal acces token. You can generate a new token
[here](https://github.com/settings/tokens/new?description=Act) (no scopes
are needed!).