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.
- Host: GitHub
- URL: https://github.com/ilyes512/golang
- Owner: Ilyes512
- License: mit
- Created: 2022-04-24T13:12:40.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-15T13:01:34.000Z (over 2 years ago)
- Last Synced: 2025-01-12T20:07:20.800Z (5 months ago)
- Language: Shell
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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!).